Ipolygon
Conversion functions ipolygon
syntax
- ipolygon(a)
definition
ipolygon(a) converts the coordinates of a point item a with a sequence of points (Arc or Polygon) to the ipoint (int32 coordinates) Value type.
applies to
- data item with Point value type and composition type Arc or Polygon
example
attribute<ipoint> ipolygonA (SDomain, polygon) := ipolygon(A);
| A(fpolygon) | ipolygonA |
|---|---|
| {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: xy(9999999; 9999999),xy(-2; -2),xy(99; 99)} |