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






Windows & Linux

Description

The interface defines methods and properties common to all angles.

Object Model





Public Methods

Public Method FindAngleFinds an angle at the specified epoch.
Public Method FindAngleWithRateFinds an angle and angle rate.
Public Method FindCoordinatesFinds the angle value and three vectors that define the angle in a specified input axes.
Public Method FindCoordinatesWithRateFinds the angle value, the angle rate and three vectors that define the angle in a specified input axes.

Public Properties

Public Property TypeReturns 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

© 2018 Analytical Graphics, Inc. All Rights Reserved.