BoundingSphere#

class ansys.stk.core.graphics.BoundingSphere#

A sphere that encapsulates an object.

Overview#

center

A center of the bounding sphere. The center point is specified as one-dimensional array with three elements corresponding to (X,Y,Z) cartesian coordinates.

radius

A radius of the bounding sphere.

Examples#

Create a Bounding Sphere

# Scenario scenario: Scenario object
manager = scenario.scene_manager
sphere = manager.initializers.bounding_sphere.initialize([[-1061.22], [-5773.98], [4456.04]], 100)

Import detail#

from ansys.stk.core.graphics import BoundingSphere

Property detail#

property BoundingSphere.center: list#

A center of the bounding sphere. The center point is specified as one-dimensional array with three elements corresponding to (X,Y,Z) cartesian coordinates.

property BoundingSphere.radius: float#

A radius of the bounding sphere.