The POLYGON Statement
- Last UpdatedJan 07, 2026
- 1 minute read
POLYGON,<pol_name>,<stp_pnt>
/LINEPOLYGON=<end_pnt>....;
<pol_name> is the name of the polygon and has the type POLYGON_3D. The maximum length of <pol_name> is 32 characters.
<stp_pnt> is the starting point of the polygon with the type POINT_3D.
LINEPOLYGON=<end_pnt>....
<end_pnt> is the ending point of the polygon segment with the type POINT_3D.
Structure:
|
NSEG |
(INTEGER) |
||
|
SEGPARTS(1:NSEG) |
|||
|
ENDPNT(1:3) |
(DECIMAL) |
||
|
AMPLITUDE(1:3) |
(DECIMAL) |
||
|
Example: |
|||
|
GET/STRUCTURE=(N,<pol_name>,'NSEG') |
|||
|
/STRUCTURE=(X,<pol_name>,'ENDPNT',N,1) |
|||
|
/STRUCTURE=(Y,<pol_name>,'AMPLITUDE',2,'Y'); |
|||