Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
GeometricBoundingVolume Class Reference

This is another abstract class, for a general class of bounding volumes that actually enclose points in 3-d space, such as BSP's and bounding spheres. More...

Inheritance diagram for GeometricBoundingVolume:
BoundingVolume TypedReferenceCount TypedObject ReferenceCount BoundingLine BoundingPlane FiniteBoundingVolume IntersectionBoundingVolume OmniBoundingVolume UnionBoundingVolume BoundingBox BoundingHexahedron BoundingSphere

List of all members.

Public Member Functions

bool around (Point3 const first, Point3 const last)
 Resets the volume to enclose only the points indicated.
int contains (GeometricBoundingVolume const vol)
 Returns the appropriate set of IntersectionFlags to indicate the amount of intersection with the indicated volume.
int contains (Point3 const point)
 Returns the appropriate set of IntersectionFlags to indicate the amount of intersection with the indicated point.
int contains (Point3 const a, Point3 const b)
 Returns the appropriate set of IntersectionFlags to indicate the amount of intersection with the indicated line segment.
bool extendBy (GeometricBoundingVolume const vol)
 Increases the size of the volume to include the given volume.
bool extendBy (Point3 const point)
 Increases the size of the volume to include the given point.
Point3 getApproxCenter ()
 xform (Mat4 const mat)

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

This is another abstract class, for a general class of bounding volumes that actually enclose points in 3-d space, such as BSP's and bounding spheres.


Member Function Documentation

bool around ( Point3 const  first,
Point3 const  last 
)

Resets the volume to enclose only the points indicated.

Returns the appropriate set of IntersectionFlags to indicate the amount of intersection with the indicated volume.

int contains ( Point3 const  point)

Returns the appropriate set of IntersectionFlags to indicate the amount of intersection with the indicated point.

int contains ( Point3 const  a,
Point3 const  b 
)

Returns the appropriate set of IntersectionFlags to indicate the amount of intersection with the indicated line segment.

bool extendBy ( GeometricBoundingVolume const  vol)

Increases the size of the volume to include the given volume.

bool extendBy ( Point3 const  point)

Increases the size of the volume to include the given point.

static TypeHandle getClassType ( ) [static]
xform ( Mat4 const  mat)
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties