AGI STK VGT 11 Send comments on this topic.
FindAngleWithRate 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 and angle rate.

Syntax

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

[C#]
public IAgCrdnAngleFindAngleWithRateResult FindAngleWithRate(
System.Object Epoch
);

[Managed C++]
public: IAgCrdnAngleFindAngleWithRateResult^ FindAngleWithRate(
VARIANT Epoch
);

[Java]
public IAgCrdnAngleFindAngleWithRateResult findAngleWithRate(
Variant Epoch
);

[Unmanaged C++]
public: HRESULT FindAngleWithRate(
VARIANT Epoch,
IAgCrdnAngleFindAngleWithRateResult ** 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 and the rate of change at a given condition.
[C#] Copy Code
IAgCrdnAngleFindAngleWithRateResult result = angle.FindAngleWithRate(0); 
if (result.IsValid) 

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

 

Computes an angle and the rate of change at a given condition.
[Visual Basic .NET] Copy Code
Dim result As IAgCrdnAngleFindAngleWithRateResult = angle.FindAngleWithRate(0)
If result.IsValid Then
    Console.WriteLine("Angle: {0}, Rate: {1}", result.Angle, result.AngleRate)
End If

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1