BoundingSphere

from panda3d.core import BoundingSphere
class BoundingSphere

Bases: FiniteBoundingVolume

This defines a bounding sphere, consisting of a center and a radius. It is always a sphere, and never an ellipsoid or other quadric.

Inheritance diagram

Inheritance diagram of BoundingSphere

__init__(*args, **kwargs)
center
getCenter()

C++ Interface: get_center(BoundingSphere self)

/**

*/

getClassType()

C++ Interface: get_class_type()

getRadius()

C++ Interface: get_radius(BoundingSphere self)

/**

*/

get_center()

C++ Interface: get_center(BoundingSphere self)

/**

*/

get_class_type()

C++ Interface: get_class_type()

get_radius()

C++ Interface: get_radius(BoundingSphere self)

/**

*/

radius
setCenter()

C++ Interface: set_center(const BoundingSphere self, const LPoint3f center)

/**
  • Sets the center point of the sphere.

*/

setRadius()

C++ Interface: set_radius(const BoundingSphere self, float radius)

/**
  • Sets the radius of the sphere.

*/

set_center()

C++ Interface: set_center(const BoundingSphere self, const LPoint3f center)

/**
  • Sets the center point of the sphere.

*/

set_radius()

C++ Interface: set_radius(const BoundingSphere self, float radius)

/**
  • Sets the radius of the sphere.

*/