InternationalTerrestrialReferenceFrameTransformerConvertAxes Method (EarthCentralBody, Axes, String, ListInternationalTerrestrialReferenceFrameTransformer) |
Converts an
Axes such that an ITRF transformation is applied when it is evaluated.
Namespace:
AGI.Foundation.Geometry
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static Axes ConvertAxes(
EarthCentralBody earth,
Axes axes,
string toFrame,
List<InternationalTerrestrialReferenceFrameTransformer> itrfList
)
Public Shared Function ConvertAxes (
earth As EarthCentralBody,
axes As Axes,
toFrame As String,
itrfList As List(Of InternationalTerrestrialReferenceFrameTransformer)
) As Axes
public:
static Axes^ ConvertAxes(
EarthCentralBody^ earth,
Axes^ axes,
String^ toFrame,
List<InternationalTerrestrialReferenceFrameTransformer^>^ itrfList
)
static member ConvertAxes :
earth : EarthCentralBody *
axes : Axes *
toFrame : string *
itrfList : List<InternationalTerrestrialReferenceFrameTransformer> -> Axes
Parameters
- earth
- Type: AGI.Foundation.CelestialEarthCentralBody
An EarthCentralBody configured with OrientationParameters
that have a NativeItrfFrame.
- axes
- Type: AGI.Foundation.GeometryAxes
The axes to be converted. - toFrame
- Type: SystemString
The name of the ITRF that the axes is being converted into. - itrfList
- Type: System.Collections.GenericListInternationalTerrestrialReferenceFrameTransformer
A list of ITRF transformations that contains a transformation
from the NativeItrfFrame of the
OrientationParameters of the EarthCentralBody
to the toFrame.
Return Value
Type:
AxesThe converted axes.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when earth, axes, toFrame, or itrfList is .
|
| InvalidOperationException |
Thrown when the OrientationParameters of earth
are or do not contain a NativeItrfFrame.
|
| InvalidDataException |
Thrown when itrfList does not contain the
necessary transformation to go from the NativeItrfFrame
of the OrientationParameters of the earth to
the toFrame (if the two frames are not the same).
|
See Also