Click or drag to resize

CPJConvertXYFromXYZ Method

Convert X, Y from input projection to output projection, taking Z into account

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void ConvertXYFromXYZ(
	ref double x,
	ref double y,
	double z
)

public void ConvertXYFromXYZ(
	ref double x,
	ref double y,
	double z
)

Parameters

x
Type: SystemDouble
X (or Longitude)
y
Type: SystemDouble
Y (or Latitude)
z
Type: SystemDouble
Z (or Depth - unchanged)
Remarks
This function is used (for instance) when projecting voxel model locations where the user expects that the vertical position will not change. The regular ConvertXYZ_PJ may result in shifts of hundreds, even a thousand meters in case where you are going from the geoid to an ellipsoid. The value of Z can have an important effect on the accuracy of the results, as the normal ConvertXY_PJ assumes a value of Z=0 internally and calls ConvertXYZ_PJ.
See Also