 | CDMPPLYGetExtents Method |
Get the center, width and height of a given polygon.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void GetExtents(
int p,
ref double x,
ref double y,
ref double z,
ref double w,
ref double h
)
public 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 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
)
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
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