Click or drag to resize

InternationalTerrestrialReferenceFrameTransformerGetFirstFromList Method

Gets the first ITRF transformation in the list with the desired characteristics.

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 InternationalTerrestrialReferenceFrameTransformer GetFirstFromList(
	IEnumerable<InternationalTerrestrialReferenceFrameTransformer> itrfList,
	string from,
	string to
)

Parameters

itrfList
Type: System.Collections.GenericIEnumerableInternationalTerrestrialReferenceFrameTransformer
A list of ITRF transformations.
from
Type: SystemString
The name of the desired ITRF that is used as the fixed frame whose coordinates are being transformed into the to.
to
Type: SystemString
The name of the ITRF that the coordinates are being transformed into.

Return Value

Type: InternationalTerrestrialReferenceFrameTransformer
An ITRF transformation with the desired characteristics.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when itrfList is .
InvalidOperationException Thrown when itrfList is empty or does not contain an ITRF transformation with the desired characteristics.
Remarks

Note that lists obtained from the file readers in this class change the names of the ITRFs before 2000 by converting to four-digit year numbers (e.g. ITRF97 becomes ITRF1997).

See Also