BoundingSphere

from panda3d.core import BoundingSphere
class BoundingSphere

Bases:

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__()

Constructs an empty sphere.

__init__(center: LPoint3, radius: float)

Constructs a specific sphere.

property center LPoint3

Getter Setter

Sets the center point of the sphere.

get_center() LPoint3
static get_class_type() TypeHandle
get_radius() float
operator_new(size: int)
property radius float

Getter Setter

Sets the radius of the sphere.

set_center(center: LPoint3)

Sets the center point of the sphere.

set_radius(radius: float)

Sets the radius of the sphere.