Click or drag to resize

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
Syntax
public 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
)

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