GeometricBoundingVolume

from panda3d.core import 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

__init__(*args, **kwargs)
contains()

C++ Interface: contains(GeometricBoundingVolume self, const GeometricBoundingVolume vol) contains(GeometricBoundingVolume self, const LPoint3f a, const LPoint3f b)

/**
  • Returns the appropriate set of IntersectionFlags to indicate the amount of

  • intersection with the indicated volume.

*/

/**
  • Returns the appropriate set of IntersectionFlags to indicate the amount of

  • intersection with the indicated point.

*/

/**
  • Returns the appropriate set of IntersectionFlags to indicate the amount of

  • intersection with the indicated line segment.

*/

extendBy()

C++ Interface: extend_by(const GeometricBoundingVolume self, const GeometricBoundingVolume vol)

/**
  • Increases the size of the volume to include the given volume.

*/

/**
  • Increases the size of the volume to include the given point.

*/

extend_by()

C++ Interface: extend_by(const GeometricBoundingVolume self, const GeometricBoundingVolume vol)

/**
  • Increases the size of the volume to include the given volume.

*/

/**
  • Increases the size of the volume to include the given point.

*/

getApproxCenter()

C++ Interface: get_approx_center(GeometricBoundingVolume self)

getClassType()

C++ Interface: get_class_type()

get_approx_center()

C++ Interface: get_approx_center(GeometricBoundingVolume self)

get_class_type()

C++ Interface: get_class_type()

xform()

C++ Interface: xform(const GeometricBoundingVolume self, const LMatrix4f mat)