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






Windows & Linux

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 InitializeInitializes 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 InitializeWithCentralBodyInitializes a great arc interpolator with the specified centralBody and a Granularity of 1 degree.
Public Method InitializeWithCentralBodyAndGranularityInitializes 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); 
 
 
GreatArcInterpolator Primitives
[Python]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

© 2018 Analytical Graphics, Inc. All Rights Reserved.