STK Vector Geometry ToolSend comments on this topic.
FindInAxes Method (IAgCrdnVector)
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.
Axes
Specify a desired axes.
Windows





Windows & Linux

Description

Computes the vector in the specified axes.

Syntax

[Visual Basic .NET]
Public Function FindInAxes( _
    ByVal Epoch As System.Object, _
    ByVal Axes As IAgCrdnAxes _
) As IAgCrdnVectorFindInAxesResult
[C#]
public IAgCrdnVectorFindInAxesResult FindInAxes(
    System.Object Epoch,
    IAgCrdnAxes Axes
);
[Managed C++]
public: IAgCrdnVectorFindInAxesResult^ FindInAxes(
    VARIANT Epoch,
    IAgCrdnAxes ^ Axes
);
[Unmanaged C++]
public: HRESULT FindInAxes(
    VARIANT Epoch,
    IAgCrdnAxes * Axes,
    IAgCrdnVectorFindInAxesResult ** ppRetVal
);
[Java]
public IAgCrdnVectorFindInAxesResult findInAxes(
    AgVariant Epoch,
    IAgCrdnAxes Axes
);
[Python - STK API ]
def FindInAxes(self, Epoch:typing.Any, Axes:"IAgCrdnAxes") -> "IAgCrdnVectorFindInAxesResult":

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.
Axes
Specify a desired axes.

See Also

Example

Computes the vector in the Earth's Fixed axes.
[C#]
IAgCrdnVectorFindInAxesResult result = vector.FindInAxes(0, provider.WellKnownAxes.Earth.Fixed);
if (result.IsValid)
{
    Console.WriteLine("Vector in the Earth's Fixed axes (x,y,z) => {0},{1},{2}",
        result.Vector.X, result.Vector.Y, result.Vector.Z);
}
Computes the vector in the Earth's Fixed axes.
[Visual Basic .NET]
Dim result As IAgCrdnVectorFindInAxesResult = vector.FindInAxes(0, provider.WellKnownAxes.Earth.Fixed)
If result.IsValid Then
	Console.WriteLine("Vector in the Earth's Fixed axes (x,y,z) => {0},{1},{2}", result.Vector.X, result.Vector.Y, result.Vector.Z)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.