Click or drag to resize

CEDBiFindNearest Method

Find the nearest point on the current line based on X,Y and Z and their projection.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iFindNearest(
	ref double x,
	ref double y,
	ref double z,
	CIPJ ipj
)

public int iFindNearest(
	ref double x,
	ref double y,
	ref double z,
	CIPJ ipj
)

Parameters

x
Type: SystemDouble
X - Modified with true point
y
Type: SystemDouble
Y - Modified with true point
z
Type: SystemDouble
Z - Modified with true point
ipj
Type: GeoEngine.Core.GXNetXCIPJ
Projection of X,Y,Z

Return Value

Type: Int32
x - Nearest point -1 - Not available
See Also