AGI STK VGT 11 Send comments on this topic.
FindAngle Method (IAgCrdnAngle)
See Also  Example
Epoch
Specify an epoch. The method may throw an exception if the epoch parameter specified cannot be converted to a currently selected date unit.





Description

Finds an angle at the specified epoch.

Syntax

[Visual Basic .NET]
Public Function FindAngle( _
   ByVal Epoch As System.Object _
) As IAgCrdnAngleFindAngleResult

[C#]
public IAgCrdnAngleFindAngleResult FindAngle(
System.Object Epoch
);

[Managed C++]
public: IAgCrdnAngleFindAngleResult^ FindAngle(
VARIANT Epoch
);

[Java]
public IAgCrdnAngleFindAngleResult findAngle(
Variant Epoch
);

[Unmanaged C++]
public: HRESULT FindAngle(
VARIANT Epoch,
IAgCrdnAngleFindAngleResult ** ReturnValue
);

Parameters

Epoch
Specify an epoch. The method may throw an exception if the epoch parameter specified cannot be converted to a currently selected date unit.

Example

Computes an angle at a given condition.
[C#] Copy Code
IAgCrdnAngleFindAngleResult result = angle.FindAngle(0); 
if (result.IsValid) 

    Console.WriteLine("Angle: {0}", result.Angle); 

 

Computes an angle at a given condition.
[Visual Basic .NET] Copy Code
Dim result As IAgCrdnAngleFindAngleResult = angle.FindAngle(0)
If result.IsValid Then
    Console.WriteLine("Angle: {0}", result.Angle)
End If

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1