 | 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
Syntaxpublic 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
)
Public Function iGridIntersection (
xi As Double,
yi As Double,
zi As Double,
dip As Double,
az As Double,
grid As String,
ByRef xo As Double,
ByRef yo As Double,
ByRef zo As Double
) As Integer
Public Function iGridIntersection (
xi As Double,
yi As Double,
zi As Double,
dip As Double,
az As Double,
grid As String,
ByRef xo As Double,
ByRef yo As Double,
ByRef zo As Double
) As Integer
public:
int iGridIntersection(
double xi,
double yi,
double zi,
double dip,
double az,
String^ grid,
double% xo,
double% yo,
double% zo
)
public:
int iGridIntersection(
double xi,
double yi,
double zi,
double dip,
double az,
String^ grid,
double% xo,
double% yo,
double% zo
)
member iGridIntersection :
xi : float *
yi : float *
zi : float *
dip : float *
az : float *
grid : string *
xo : float byref *
yo : float byref *
zo : float byref -> int
member iGridIntersection :
xi : float *
yi : float *
zi : float *
dip : float *
az : float *
grid : string *
xo : float byref *
yo : float byref *
zo : float byref -> int
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:
Int321 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