AGI STK Graphics 11Send comments on this topic.
IAgStkGraphicsBoundingSphere Interface

Description

A sphere that encapsulates an object.

Public Properties

Public Property CenterA center of the bounding sphere. The center point is specified as one-dimensional array with three elements corresponding to (X,Y,Z) cartesian coordinates.
Public Property RadiusA 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);

© 2019 Analytical Graphics, Inc. All Rights Reserved.