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






Windows & Linux

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
[MATLAB]Copy Code
% IAgScenario scenario: Scenario object 
manager = scenario.SceneManager; 
sphere = manager.Initializers.BoundingSphere.Initialize({-1061.22;-5773.98;4456.04},100); 
 
 
Create a Bounding Sphere
[Python]Copy Code
# IAgScenario scenario: Scenario object 
manager = scenario.SceneManager 
sphere = manager.Initializers.BoundingSphere.Initialize([ [-1061.22],[-5773.98],[4456.04] ],100) 
 
 
© 2018 Analytical Graphics, Inc. All Rights Reserved.