15 #include "omniBoundingVolume.h" 16 #include "boundingHexahedron.h" 17 #include "config_mathutil.h" 39 get_approx_center()
const {
40 return LPoint3(0.0f, 0.0f, 0.0f);
48 void OmniBoundingVolume::
57 void OmniBoundingVolume::
58 output(ostream &out)
const {
67 bool OmniBoundingVolume::
78 bool OmniBoundingVolume::
91 int OmniBoundingVolume::
93 return IF_possible | IF_some | IF_all;
101 bool OmniBoundingVolume::
102 extend_by_point(
const LPoint3 &) {
111 bool OmniBoundingVolume::
121 bool OmniBoundingVolume::
131 bool OmniBoundingVolume::
141 bool OmniBoundingVolume::
151 bool OmniBoundingVolume::
162 bool OmniBoundingVolume::
173 bool OmniBoundingVolume::
184 int OmniBoundingVolume::
185 contains_point(
const LPoint3 &)
const {
186 return IF_possible | IF_some | IF_all;
194 int OmniBoundingVolume::
196 return IF_possible | IF_some | IF_all;
204 int OmniBoundingVolume::
206 return IF_possible | IF_some | IF_all;
214 int OmniBoundingVolume::
216 return IF_possible | IF_some | IF_all;
224 int OmniBoundingVolume::
226 return IF_possible | IF_some | IF_all;
An axis-aligned bounding box; that is, a minimum and maximum coordinate triple.
This defines a bounding sphere, consisting of a center and a radius.
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
void set_infinite()
Marks the volume as infinite, even if it is normally finite.
This is a 4-by-4 transform matrix.
This is a special kind of GeometricBoundingVolume that fills all of space.
TypeHandle is the identifier used to differentiate C++ class types.
This defines a bounding convex hexahedron.