Click or drag to resize

CDHiGridIntersection Method

Algorithm to determine the intersection of a straight hole with a surface (DEM) grid.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iGridIntersection(
	double xi,
	double yi,
	double zi,
	double dip,
	double az,
	string grid,
	ref double xo,
	ref double yo,
	ref double zo
)

public int iGridIntersection(
	double xi,
	double yi,
	double zi,
	double dip,
	double az,
	string grid,
	ref double xo,
	ref double yo,
	ref double zo
)

Parameters

xi
Type: SystemDouble
Input location on hole X
yi
Type: SystemDouble
Input location on hole Y
zi
Type: SystemDouble
Input location on hole Z
dip
Type: SystemDouble
Dip (positive up) in degrees
az
Type: SystemDouble
Azimuth in degrees
grid
Type: SystemString
DEM grid
xo
Type: SystemDouble
Returned intersection point X
yo
Type: SystemDouble
Returned intersection point Y
zo
Type: SystemDouble
Returned intersection point Z

Return Value

Type: Int32
1 if an intersection is found, 0 if not.
Remarks
Given a point on the hole and the straight hole dip and azimuth, ocate (an) intersection point with the input DEM grid.
See Also