Click or drag to resize

InternationalTerrestrialReferenceFrameTransformerConvertPoint Method (EarthCentralBody, Point, String, ListInternationalTerrestrialReferenceFrameTransformer)

Converts a Point 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: 24.2.419.0 (24.2.419.0)
Syntax
public static Point ConvertPoint(
	EarthCentralBody earth,
	Point point,
	string toFrame,
	List<InternationalTerrestrialReferenceFrameTransformer> itrfList
)

Parameters

earth
Type: AGI.Foundation.CelestialEarthCentralBody
An EarthCentralBody configured with OrientationParameters that have a NativeItrfFrame.
point
Type: AGI.Foundation.GeometryPoint
The point to be converted.
toFrame
Type: SystemString
The name of the ITRF that the point 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: Point
The converted point.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when earth, point, 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