This funny bounding volume is an infinite plane that divides space into two regions: the part behind the normal, which is "inside" the bounding volume, and the part in front of the normal, which is "outside" the bounding volume.
More...
Public Member Functions |
| | BoundingPlane () |
| | Constructs an empty "plane" that has no intersections.
|
|
| BoundingPlane (const LPlane &plane) |
| virtual const BoundingPlane * | as_bounding_plane () const |
| | Virtual downcast method.
|
|
virtual TypeHandle | force_init_type () |
|
virtual LPoint3 | get_approx_center () const |
|
const LPlane & | get_plane () const |
|
virtual TypeHandle | get_type () const |
|
virtual BoundingVolume * | make_copy () const |
|
virtual void | output (ostream &out) const |
|
virtual void | xform (const LMatrix4 &mat) |
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
| static void | init_type () |
| | This function is declared non-inline to work around a compiler bug in g++ 2.96.
|
Protected Member Functions |
|
virtual bool | around_other (BoundingVolume *other, const BoundingVolume **first, const BoundingVolume **last) const |
| virtual int | contains_box (const BoundingBox *box) const |
| | Double-dispatch support: called by contains_other() when the type we're testing for intersection is known to be a box.
|
| virtual int | contains_hexahedron (const BoundingHexahedron *hexahedron) const |
| | Double-dispatch support: called by contains_other() when the type we're testing for intersection is known to be a hexahedron.
|
| virtual int | contains_line (const BoundingLine *line) const |
| | Double-dispatch support: called by contains_other() when the type we're testing for intersection is known to be a line.
|
|
virtual int | contains_other (const BoundingVolume *other) const |
| virtual int | contains_plane (const BoundingPlane *plane) const |
| | Double-dispatch support: called by contains_other() when the type we're testing for intersection is known to be a plane.
|
| virtual int | contains_sphere (const BoundingSphere *sphere) const |
| | Double-dispatch support: called by contains_other() when the type we're testing for intersection is known to be a sphere.
|
| virtual bool | extend_by_plane (const BoundingPlane *plane) |
| | Double-dispatch support: called by extend_other() when the type we're extending by is known to be a plane.
|
|
virtual bool | extend_other (BoundingVolume *other) const |
Friends |
|
class | BoundingBox |
|
class | BoundingSphere |
This funny bounding volume is an infinite plane that divides space into two regions: the part behind the normal, which is "inside" the bounding volume, and the part in front of the normal, which is "outside" the bounding volume.
Definition at line 31 of file boundingPlane.h.