![](../icons/Help.png) | CDHiFindHoleIntersection Method |
Return XYZ locations of the intersection of a hole with a DEM grid.
Available since Oasis montaj version: 7.0
License: Available to specially licensed modules.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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>.
Syntaxpublic 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:
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
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
See Also