Spolygon
Conversion functions spolygon
syntax
- spolygon(a)
definition
spolygon(a) converts the coordinates of a point item a with a sequence of points (Arc or Polygon) to the spoint (int16 coordinates) Value type.
applies to
- data item with Point Value type and composition type arc or polygon
example
attribute<spoint> spolygonA (SDomain, polygon) := spolygon(A);
| A(fpolygon) | spolygonA |
|---|---|
| {2:xy(0; 0),xy(1; 1)} | {2:xy(0; 0),xy(1; 1)} |
| {3: {1E+007,1E+007},{-2.5,-2.5},{99.9,99.9}} | {3: {null,null},xy(-2; -2),xy(99; 99)} |