Click or drag to resize

ICoordinateTransformationTransform Method (Double, Double, NullableDouble, Double, Double, NullableDouble)

Transforms a coordinate.

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,
	Nullable<double> zin,
	out double xout,
	out double yout,
	out Nullable<double> zout
)

Parameters

xin
Type: SystemDouble
Value containing the x-coordinate.
yin
Type: SystemDouble
Value containing the y-coordinate.
zin
Type: SystemNullableDouble
Value containing the z-coordinate, nullable.
xout
Type: SystemDouble
On return, contains the transformed x-coordinate.
yout
Type: SystemDouble
On return, contains the transformed y-coordinate.
zout
Type: SystemNullableDouble
On return, contains the transformed z-coordinate.
Exceptions
ExceptionCondition
TransformationExceptionThrown in the unlikely event that a coordinate transformation fails.
Remarks
The returned z-coordinate is set to null if the input z-coordinate was null as well.
See Also