![](../icons/Help.png) | CDMPPLYGetNormalVectors Method |
Get the normal vectors of a given polygon.
Available since Oasis montaj version: 6.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Three normalized vectors are returned.
The first is horizontal, in the plane of the polygon.
The second is in the vertical plane, corresponding to the
"down-dip" direction.
The third is the normal vector to the polygon plane.
Syntaxpublic void GetNormalVectors(
int p,
ref double x1,
ref double y1,
ref double z1,
ref double x2,
ref double y2,
ref double z2,
ref double x3,
ref double y3,
ref double z3
)
Public Sub GetNormalVectors (
p As Integer,
ByRef x1 As Double,
ByRef y1 As Double,
ByRef z1 As Double,
ByRef x2 As Double,
ByRef y2 As Double,
ByRef z2 As Double,
ByRef x3 As Double,
ByRef y3 As Double,
ByRef z3 As Double
)
public:
void GetNormalVectors(
int p,
double% x1,
double% y1,
double% z1,
double% x2,
double% y2,
double% z2,
double% x3,
double% y3,
double% z3
)
member GetNormalVectors :
p : int *
x1 : float byref *
y1 : float byref *
z1 : float byref *
x2 : float byref *
y2 : float byref *
z2 : float byref *
x3 : float byref *
y3 : float byref *
z3 : float byref -> unit
Parameters
- p
- Type: SystemInt32
Polygon number (1 to NP) - x1
- Type: SystemDouble
X component (o) (Horizontal azimuth vector) - y1
- Type: SystemDouble
Y component (o) - z1
- Type: SystemDouble
Z component (o) - x2
- Type: SystemDouble
X component (o) (Down-dip, in the vertical plane) - y2
- Type: SystemDouble
Y component (o) - z2
- Type: SystemDouble
Z component (o) - x3
- Type: SystemDouble
X component (o) (Normal vector) - y3
- Type: SystemDouble
Y component (o) - z3
- Type: SystemDouble
Z component (o)
See Also