Click or drag to resize
CEDBiFindNearest Method
Find the nearest point on the current line based on X,Y and Z and their projection.

Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntax
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