Click or drag to resize

ICoordinateTransformationTransform Method (IntPtr, IntPtr, Double, Double)

Transforms a single coordinate.

Namespace:  Ptv.Components.Projections.Proj4
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
int Transform(
	IntPtr src,
	IntPtr dst,
	ref double x,
	ref double y
)

Parameters

src
Type: SystemIntPtr
The source projection.
dst
Type: SystemIntPtr
The target projection.
x
Type: SystemDouble
The x-coordinate to transform (in and out).
y
Type: SystemDouble
The y-coordinate to transform (in and out).

Return Value

Type: Int32
Zero on success, a PROJ.4 error code otherwise.
See Also