CoordinateTransformationsGetTransformation Method |
Gets a managed transformation for the given CRS identifiers.
Namespace:
Ptv.Components.Projections.Direct
Assembly:
Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax public static TransformDelegate GetTransformation(
string sourceId,
string targetId
)
Public Shared Function GetTransformation (
sourceId As String,
targetId As String
) As TransformDelegate
public:
static TransformDelegate^ GetTransformation(
String^ sourceId,
String^ targetId
)
static member GetTransformation :
sourceId : string *
targetId : string -> TransformDelegate
Parameters
- sourceId
- Type: SystemString
Identifier of the source coordinate reference system. - targetId
- Type: SystemString
Identifier of the target coordinate reference system.
Return Value
Type:
TransformDelegateThe
TransformDelegate for performing a direct coordinate transformation, which
may be null, if the specified transformation does not exist.
Exceptions Exception | Condition |
---|
TransformationNotFoundException | Thrown if no transformation is available to transform coordinates
from the specified source to the specified target coordinate reference system. |
See Also