Click or drag to resize
CDUClosestPoint Method
Return closest data point to input location.

Available since Oasis montaj version: 6.2.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Selected lines are scanned for the (X, Y) location which is closest to the input location. The line and fiducial of the point are returned. Will register an error if no valid (X, Y) locations are found.
Syntax
public static void ClosestPoint(
	CDB oDB1,
	double d2,
	double d3,
	ref double d4,
	ref double d5,
	ref int i6,
	ref double d7
)

Parameters

oDB1
Type: GeoEngine.Core.GXNetCDB
DB
d2
Type: SystemDouble
X location
d3
Type: SystemDouble
Y location
d4
Type: SystemDouble
located X location
d5
Type: SystemDouble
located Y location
i6
Type: SystemInt32
line for located point
d7
Type: SystemDouble
fiducial of located point
See Also