Click or drag to resize

InternationalTerrestrialReferenceFrameTransformer.ConvertAxes Method (EarthCentralBody, Axes, String)

Converts an Axes such that an ITRF transformation is applied when it is evaluated. ItrfDefinitions is used to provide ITRF transformations.

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static Axes ConvertAxes(
	EarthCentralBody earth,
	Axes axes,
	string toFrame
)

Parameters

earth
Type: AGI.Foundation.Celestial.EarthCentralBody
An EarthCentralBody configured with OrientationParameters that have a NativeItrfFrame.
axes
Type: AGI.Foundation.Geometry.Axes
The axes to be converted.
toFrame
Type: System.String
The name of the ITRF that the axes is being converted into.

Return Value

Type: Axes
The converted axes.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when earth, axes, or toFrame is null.
InvalidOperationException Thrown when the OrientationParameters of earth are null or do not contain a NativeItrfFrame.
InvalidDataException Thrown when ItrfDefinitions 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