![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic void GetExtents(
int p,
ref double x,
ref double y,
ref double z,
ref double w,
ref double h
)
Public Sub GetExtents (
p As Integer,
ByRef x As Double,
ByRef y As Double,
ByRef z As Double,
ByRef w As Double,
ByRef h As Double
)
public:
void GetExtents(
int p,
double% x,
double% y,
double% z,
double% w,
double% h
)
member GetExtents :
p : int *
x : float byref *
y : float byref *
z : float byref *
w : float byref *
h : float byref -> unit
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