20 INLINE_MATHUTIL GeometricBoundingVolume::
21 GeometricBoundingVolume() {
43 return extend_by_point(point);
69 return around_points(first, last);
97 return IF_no_intersection;
100 return contains_point(point);
113 return IF_no_intersection;
116 return contains_lineseg(a, b);
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
int contains(const GeometricBoundingVolume *vol) const
Returns the appropriate set of IntersectionFlags to indicate the amount of intersection with the indi...
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
This is another abstract class, for a general class of bounding volumes that actually enclose points ...
bool around(const BoundingVolume **first, const BoundingVolume **last)
Resets the volume to enclose only the volumes indicated.
bool is_empty() const
Any kind of volume might be empty.
bool extend_by(const BoundingVolume *vol)
Increases the size of the volume to include the given volume.
bool around(const GeometricBoundingVolume **first, const GeometricBoundingVolume **last)
Resets the volume to enclose only the volumes indicated.
int contains(const BoundingVolume *vol) const
Returns the appropriate set of IntersectionFlags to indicate the amount of intersection with the indi...
bool extend_by(const GeometricBoundingVolume *vol)
Increases the size of the volume to include the given volume.