BoundingHexahedron

from panda3d.core import BoundingHexahedron
class BoundingHexahedron

Bases: FiniteBoundingVolume

This defines a bounding convex hexahedron. It is typically used to represent a frustum, but may represent any enclosing convex hexahedron, including simple boxes. However, if all you want is an axis-aligned bounding box, you may be better off with the simpler BoundingBox class.

Inheritance diagram

Inheritance diagram of BoundingHexahedron

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

getNumPlanes()

C++ Interface: get_num_planes(BoundingHexahedron self)

/**
  • Returns 6: the number of faces of a hexahedron.

*/

getNumPoints()

C++ Interface: get_num_points(BoundingHexahedron self)

/**
  • Returns 8: the number of vertices of a hexahedron.

*/

getPlane()

C++ Interface: get_plane(BoundingHexahedron self, int n)

/**
  • Returns the nth face of the hexahedron.

*/

getPlanes()
getPoint()

C++ Interface: get_point(BoundingHexahedron self, int n)

/**
  • Returns the nth vertex of the hexahedron.

*/

getPoints()
get_class_type()

C++ Interface: get_class_type()

get_num_planes()

C++ Interface: get_num_planes(BoundingHexahedron self)

/**
  • Returns 6: the number of faces of a hexahedron.

*/

get_num_points()

C++ Interface: get_num_points(BoundingHexahedron self)

/**
  • Returns 8: the number of vertices of a hexahedron.

*/

get_plane()

C++ Interface: get_plane(BoundingHexahedron self, int n)

/**
  • Returns the nth face of the hexahedron.

*/

get_planes()
get_point()

C++ Interface: get_point(BoundingHexahedron self, int n)

/**
  • Returns the nth vertex of the hexahedron.

*/

get_points()
planes
points