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





Description

The great arc interpolator computes interpolated positions along a great arc. A great arc is the shortest path between two positions on an ellipsoid.

Object Model




Public Methods

Public Method Initialize Initializes a default great arc interpolator. This is equivalent to constructing a great arc interpolator with a Central Body equal to an instance of Earth Central Body and a Granularity of 1 degree.
Public Method InitializeWithCentralBody Initializes a great arc interpolator with the specified centralBody and a Granularity of 1 degree.
Public Method InitializeWithCentralBodyAndGranularity Initializes a great arc interpolator with the specified centralBody and granularity.

Example

GreatArcInterpolator Primitives
[MATLAB] Copy Code
% IAgScenario scenario: Scenario object 
% Create a array of LLA values and interoplate them over the specified 
% central body 
positionArray = {35.017; -118.540; 0; 44.570; -96.474; 0; 31.101; -82.619; 0}; 
manager = scenario.SceneManager; 
% Interpolate points over great arc 
interpolator = manager.Initializers.GreatArcInterpolator.InitializeWithCentralBody('Earth'); 
interpolator.Granularity = .1; 
result = interpolator.Interpolate(positionArray); 
 
 

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1