Click or drag to resize
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.GXNetX
Assembly: 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>.
Syntax
public int iFindHoleIntersection(
	int hole,
	CIMG img,
	ref double x,
	ref double y,
	ref double z
)

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