 | CDHiFindHoleIntersection Method |
Return XYZ locations of the intersection of a hole with a DEM grid.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic int iFindHoleIntersection(
int hole,
CIMG img,
ref double x,
ref double y,
ref double z
)
public int iFindHoleIntersection(
int hole,
CIMG img,
ref double x,
ref double y,
ref double z
)
Public Function iFindHoleIntersection (
hole As Integer,
img As CIMG,
ByRef x As Double,
ByRef y As Double,
ByRef z As Double
) As Integer
Public Function iFindHoleIntersection (
hole As Integer,
img As CIMG,
ByRef x As Double,
ByRef y As Double,
ByRef z As Double
) As Integer
public:
int iFindHoleIntersection(
int hole,
CIMG^ img,
double% x,
double% y,
double% z
)
public:
int iFindHoleIntersection(
int hole,
CIMG^ img,
double% x,
double% y,
double% z
)
member iFindHoleIntersection :
hole : int *
img : CIMG *
x : float byref *
y : float byref *
z : float byref -> int
member iFindHoleIntersection :
hole : int *
img : CIMG *
x : float byref *
y : float byref *
z : float byref -> int
Parameters
- hole
- Type: SystemInt32
Hole index - img
- Type: GeoEngine.Core.GXNetXCIMG
DEM Grid - x
- Type: SystemDouble
Returned X location - y
- Type: SystemDouble
Returned Y location - z
- Type: SystemDouble
Returned Z location
Return Value
Type:
Int32
1 if intersection found
0 if no intersection found
Remarks
Input the hole index and an IMG object. Returns XYZ location
of the hole intersection with the DEM. Interpolation inside the DEM
uses the native IMG interp method. If no intersection is found the
returned XYZ locations are <define>rDUMMY</define>.
See Also