| CDHiGridIntersection Method |
Algorithm to determine the intersection of a straight hole with a surface (DEM) grid.
Available since Oasis montaj version: 7.3.0
License: Available to specially licensed modules.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Given a point on the hole and the straight hole dip and azimuth,
ocate (an) intersection point with the input DEM grid.
Syntax public int iGridIntersection(
double d1,
double d2,
double d3,
double d4,
double d5,
string str6,
ref double d7,
ref double d8,
ref double d9
)
Public Function iGridIntersection (
d1 As Double,
d2 As Double,
d3 As Double,
d4 As Double,
d5 As Double,
str6 As String,
ByRef d7 As Double,
ByRef d8 As Double,
ByRef d9 As Double
) As Integer
public:
int iGridIntersection(
double d1,
double d2,
double d3,
double d4,
double d5,
String^ str6,
double% d7,
double% d8,
double% d9
)
member iGridIntersection :
d1 : float *
d2 : float *
d3 : float *
d4 : float *
d5 : float *
str6 : string *
d7 : float byref *
d8 : float byref *
d9 : float byref -> int
Parameters
- d1
- Type: SystemDouble
Input location on hole X - d2
- Type: SystemDouble
Input location on hole Y - d3
- Type: SystemDouble
Input location on hole Z - d4
- Type: SystemDouble
Dip (positive up) in degrees - d5
- Type: SystemDouble
Azimuth in degrees - str6
- Type: SystemString
DEM grid - d7
- Type: SystemDouble
returned intersection point X - d8
- Type: SystemDouble
returned intersection point Y - d9
- Type: SystemDouble
returned intersection point Z
Return Value
Type:
Int321 if an intersection is found, 0 if not.
See Also