AGI STK VGT 11 Send comments on this topic.
GetProvider Method (IAgCrdnRoot)
See Also  Example
InstPath
Specify a short path to an STK object or to a central body. Examples of a valid path are "CentralBody/Earth" or "Satellite/Satellite1".





Description

Returns an instance provider. The method takes a short instance path to an STK object or a central body.(i.e. \"Satellite/Satellite1\", \"CentralBody/Earth\", etc.)

Syntax

[Visual Basic .NET]
Public Function GetProvider( _
   ByVal InstPath As String _
) As IAgCrdnProvider

[C#]
public IAgCrdnProvider GetProvider(
string InstPath
);

[Managed C++]
public: IAgCrdnProvider^ GetProvider(
String __gc ^ InstPath
);

[Java]
public IAgCrdnProvider getProvider(
String InstPath
);

[Unmanaged C++]
public: HRESULT GetProvider(
BSTR InstPath,
IAgCrdnProvider ** ReturnValue
);

Parameters

InstPath
Specify a short path to an STK object or to a central body. Examples of a valid path are "CentralBody/Earth" or "Satellite/Satellite1".

Example

Get a Vector Geometry Tool provider
[C#] Copy Code
//Returns a provider associated with the specified 
// instance of an STK Object or a Central Body. 
IAgCrdnProvider provider = root.GetProvider(path); 
 

Get a Vector Geometry Tool provider
[Visual Basic .NET] Copy Code
'Returns a provider associated with the specified
' instance of an STK Object or a Central Body.
Dim provider As IAgCrdnProvider = root.GetProvider(path)

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1