Click or drag to resize

ICoordinateTransformationTransform Method (Double, Double, Double, Double)

Transforms a set of coordinates.

Namespace:  Ptv.Components.Projections
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
void Transform(
	double[] xin,
	double[] yin,
	double[] xout,
	double[] yout
)

Parameters

xin
Type: SystemDouble
Array containing the x-coordinates to transform.
yin
Type: SystemDouble
Array containing the y-coordinates to transform.
xout
Type: SystemDouble
Array in which to store the transformed x-coordinates.
yout
Type: SystemDouble
Array in which to store the transformed y-coordinates.
Exceptions
ExceptionCondition
TransformationExceptionThrown in the unlikely event that a coordinate transformation fails.
Remarks
The caller is responsible for allocating memory for the output arrays. It is allowed to use the input arrays in xout and yout.
See Also