Upolygon
Conversion functions upolygon
syntax
- upolygon(a)
definition
upolygon(a) converts the coordinates of a point item a with a sequence of points (Arc or Polygon) to the upoint (uint32 coordinates) Value type.
applies to
- Data item with Point value type and composition type arc or polygon
example
attribute<upoint> upolygonA (SDomain, polygon) := upolygon(A);
| A(fpolygon) | upolygonA |
|---|---|
| {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),{null,null},xy(99; 99)} |