 | CEDBiFindNearest Method |
Find the nearest point on the current line based
on X,Y and Z and their projection.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic int iFindNearest(
ref double x,
ref double y,
ref double z,
CIPJ ipj
)
public int iFindNearest(
ref double x,
ref double y,
ref double z,
CIPJ ipj
)
Public Function iFindNearest (
ByRef x As Double,
ByRef y As Double,
ByRef z As Double,
ipj As CIPJ
) As Integer
Public Function iFindNearest (
ByRef x As Double,
ByRef y As Double,
ByRef z As Double,
ipj As CIPJ
) As Integer
public:
int iFindNearest(
double% x,
double% y,
double% z,
CIPJ^ ipj
)
public:
int iFindNearest(
double% x,
double% y,
double% z,
CIPJ^ ipj
)
member iFindNearest :
x : float byref *
y : float byref *
z : float byref *
ipj : CIPJ -> int
member iFindNearest :
x : float byref *
y : float byref *
z : float byref *
ipj : CIPJ -> int
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