Click or drag to resize
CDMPPLYGetExtents Method
Get the center, width and height 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)
Syntax
public void GetExtents(
	int p,
	ref double x,
	ref double y,
	ref double z,
	ref double w,
	ref double h
)

Parameters

p
Type: SystemInt32
Polygon number (1 to NP)
x
Type: SystemDouble
Center point X (o)
y
Type: SystemDouble
Center point Y (o)
z
Type: SystemDouble
Center point Z (o)
w
Type: SystemDouble
Width of polygon (in its plane) (o)
h
Type: SystemDouble
Height of polygon (Z extent) (o)
See Also