ICoordinateTransformationTransform Method (IntPtr, IntPtr, Double, 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,
ref double z
)
Function Transform (
src As IntPtr,
dst As IntPtr,
ByRef x As Double,
ByRef y As Double,
ByRef z As Double
) As Integer
int Transform(
IntPtr src,
IntPtr dst,
double% x,
double% y,
double% z
)
abstract Transform :
src : IntPtr *
dst : IntPtr *
x : float byref *
y : float byref *
z : float byref -> int
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). - z
- Type: SystemDouble
The z-coordinate to transform (in and out).
Return Value
Type:
Int32Zero on success, a PROJ.4 error code otherwise.
See Also