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: 25.2.423.0 (25.2.423.0)
Syntaxpublic static InternationalTerrestrialReferenceFrameTransformer GetFirstFromList(
IEnumerable<InternationalTerrestrialReferenceFrameTransformer> itrfList,
string from,
string to
)
Public Shared Function GetFirstFromList (
itrfList As IEnumerable(Of InternationalTerrestrialReferenceFrameTransformer),
from As String,
to As String
) As InternationalTerrestrialReferenceFrameTransformer
public:
static InternationalTerrestrialReferenceFrameTransformer^ GetFirstFromList(
IEnumerable<InternationalTerrestrialReferenceFrameTransformer^>^ itrfList,
String^ from,
String^ to
)
static member GetFirstFromList :
itrfList : IEnumerable<InternationalTerrestrialReferenceFrameTransformer> *
from : string *
to : string -> InternationalTerrestrialReferenceFrameTransformer
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:
InternationalTerrestrialReferenceFrameTransformerAn ITRF transformation with the desired characteristics.
Exceptions| Exception | Condition |
|---|
| 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