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

example

attribute<ipoint> ipolygonA (SDomain, polygon) := ipolygon(A);
A(fpolygon) ipolygonA
{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},{-2,-2},{99,99}}