BoundingBox

from panda3d.core import BoundingBox
class BoundingBox

Bases: FiniteBoundingVolume

An axis-aligned bounding box; that is, a minimum and maximum coordinate triple.

This box is always axis-aligned. If you need a more general bounding box, try BoundingHexahedron.

Inheritance diagram

Inheritance diagram of BoundingBox

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

C++ Interface: get_class_type()

getNumPlanes()

C++ Interface: get_num_planes(BoundingBox self)

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

*/

getNumPoints()

C++ Interface: get_num_points(BoundingBox self)

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

*/

getPlane()

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

/**
  • Returns the nth face of the rectangular solid.

*/

getPlanes()
getPoint()

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

/**
  • Returns the nth vertex of the rectangular solid.

*/

getPoints()
get_class_type()

C++ Interface: get_class_type()

get_num_planes()

C++ Interface: get_num_planes(BoundingBox self)

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

*/

get_num_points()

C++ Interface: get_num_points(BoundingBox self)

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

*/

get_plane()

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

/**
  • Returns the nth face of the rectangular solid.

*/

get_planes()
get_point()

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

/**
  • Returns the nth vertex of the rectangular solid.

*/

get_points()
planes
points
setMinMax()

C++ Interface: set_min_max(const BoundingBox self, const LPoint3f min, const LPoint3f max)

/**
  • Sets the min and max point of the rectangular solid.

*/

set_min_max()

C++ Interface: set_min_max(const BoundingBox self, const LPoint3f min, const LPoint3f max)

/**
  • Sets the min and max point of the rectangular solid.

*/