Click or drag to resize

InternationalTerrestrialReferenceFrameTransformer.ConvertPoint Method (EarthCentralBody, Point, String)

Converts a Point 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 Point ConvertPoint(
	EarthCentralBody earth,
	Point point,
	string toFrame
)

Parameters

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

Return Value

Type: Point
The converted point.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when earth, point, 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