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






Windows & Linux

Description

Finds an angle at the specified epoch.

Syntax

[Visual Basic .NET]
Public Function FindAngle( _
    ByVal Epoch As System.Object _
) As 
[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 ** ppRetVal
);

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.

See Also

Example

Computes an angle at a given condition.
[C#]
IAgCrdnAngleFindAngleResult result = angle.FindAngle(0);
if (result.IsValid)
{
    Console.WriteLine("Angle: {0}", result.Angle);
}
Computes an angle at a given condition.
[Visual Basic .NET]
Dim result As IAgCrdnAngleFindAngleResult = angle.FindAngle(0)
If result.IsValid Then
	Console.WriteLine("Angle: {0}", result.Angle)
End If
© 2019 Analytical Graphics, Inc. All Rights Reserved.