Click or drag to resize

ICoordinateTransformationTransform Method (Location, Location)

Transforms an array of Location.

Namespace:  Ptv.Components.Projections
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
void Transform(
	Location[] locationsIn,
	Location[] locationsOut = null
)

Parameters

locationsIn
Type: Ptv.Components.ProjectionsLocation
Array containing the locations to transform.
locationsOut (Optional)
Type: Ptv.Components.ProjectionsLocation
Array in which to put the transformed locations.
Exceptions
ExceptionCondition
TransformationExceptionThrown in the unlikely event that a coordinate transformation fails.
Remarks
If locationsOut is set to null the transformed locations are written back to the input array. It is also valid to specify the input array in locationsOut, which is the same as setting locationsOut to null.
See Also