| 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.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Syntax public int iFindNearest(
ref double d1,
ref double d2,
ref double d3,
CIPJ oIPJ4
)
Public Function iFindNearest (
ByRef d1 As Double,
ByRef d2 As Double,
ByRef d3 As Double,
oIPJ4 As CIPJ
) As Integer
public:
int iFindNearest(
double% d1,
double% d2,
double% d3,
CIPJ^ oIPJ4
)
member iFindNearest :
d1 : float byref *
d2 : float byref *
d3 : float byref *
oIPJ4 : CIPJ -> int
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