| 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.GXNetAssembly: 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
)
Public Shared Sub ClosestPoint (
oDB1 As CDB,
d2 As Double,
d3 As Double,
ByRef d4 As Double,
ByRef d5 As Double,
ByRef i6 As Integer,
ByRef d7 As Double
)
public:
static void ClosestPoint(
CDB^ oDB1,
double d2,
double d3,
double% d4,
double% d5,
int% i6,
double% d7
)
static member ClosestPoint :
oDB1 : CDB *
d2 : float *
d3 : float *
d4 : float byref *
d5 : float byref *
i6 : int byref *
d7 : float byref -> unit
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