Click or drag to resize
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.GXNetX
Assembly: 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.
Syntax
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
)

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