panda3d.core.GeometricBoundingVolume

class GeometricBoundingVolume

Bases: BoundingVolume

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.

Inheritance diagram

Inheritance diagram of GeometricBoundingVolume

contains(vol: GeometricBoundingVolume) → int

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

contains(point: LPoint3) → int

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

contains(a: LPoint3, b: LPoint3) → int

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

extendBy(vol: GeometricBoundingVolume) → bool

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

extendBy(point: LPoint3) → bool

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

getApproxCenter() → LPoint3
Return type

LPoint3

static getClassType() → TypeHandle
Return type

TypeHandle

xform(mat: LMatrix4) → None