 | CDMPPLYGetNormalVectors Method |
Get the normal vectors of a given polygon.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
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 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 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
)
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
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)
Remarks
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.
See Also