GeometricBoundingVolume

from panda3d.core import GeometricBoundingVolume
class GeometricBoundingVolume

Bases:

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.

extend_by(vol: GeometricBoundingVolume) bool

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

extend_by(point: LPoint3) bool

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

get_approx_center() LPoint3
static get_class_type() TypeHandle
xform(mat: LMatrix4)