Upolygon - ObjectVision/GeoDMS GitHub Wiki
Conversion functions upolygon
- upolygon(a)
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.
- data item with Point value type and composition type arc or polygon
attribute<upoint> upolygonA (SDomain, polygon) := upolygon(A);
A(fpolygon) | upolygonA |
---|---|
{2:{0,0},{1,1}} | {2:{0,0},{1,1}} |
{3: {1E+007,1E+007},{-2.5,-2.5},{99.9,99.9}} | {3: {9999999,9999999},{null,null},{99,99}} |