Wpolygon

conversion-functions wpolygon

syntax

  • wpolygon(a)

definition

wpolygon(a) converts the coordinates of a point item a with a sequence of points (arc or polygon) to the wpoint (uint16 coordinates) value-type.

applies to

example

attribute<wpoint> wpolygonA (SDomain, polygon) := wpolygon(A);
A(fpolygon) wpolygonA
{2:{0,0},{1,1}} {2:{0,0},{1,1}}
{3: {1E+007,1E+007},{-2.5,-2.5},{99.9,99.9}} {3: {null,null},{null,null},{99,99}}