Description
A sphere that encapsulates an object.
Public Properties
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. |
Example
Create a Bounding Sphere
[Python] |
---|
# IAgScenario scenario: Scenario object
manager = scenario.SceneManager
sphere = manager.Initializers.BoundingSphere.Initialize([ [-1061.22],[-5773.98],[4456.04] ],100)
|
|
Create a Bounding Sphere
[MATLAB] |
---|
% IAgScenario scenario: Scenario object
manager = scenario.SceneManager;
sphere = manager.Initializers.BoundingSphere.Initialize({-1061.22;-5773.98;4456.04},100);
|
|