AGI STK VGT 11 Send comments on this topic.
IAgCrdnAngle Interface





Description

The interface defines methods and properties common to all angles.

Object Model





Public Methods

Public Method FindAngle Finds an angle at the specified epoch.
Public Method FindAngleWithRate Finds an angle and angle rate.
Public Method FindCoordinates Finds the angle value and three vectors that define the angle in a specified input axes.
Public Method FindCoordinatesWithRate Finds the angle value, the angle rate and three vectors that define the angle in a specified input axes.

Public Properties

Public Property Type Returns a type of the angle object.

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 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 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

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

CoClasses that Implement IAgCrdnAngle

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1