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.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.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Syntax
public int iFindNearest(
	ref double d1,
	ref double d2,
	ref double d3,
	CIPJ oIPJ4
)

Parameters

d1
Type: SystemDouble
X - Modified with true point
d2
Type: SystemDouble
Y - Modified with true point
d3
Type: SystemDouble
Z - Modified with true point
oIPJ4
Type: GeoEngine.Core.GXNetCIPJ
Projection of X,Y,Z

Return Value

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