2.2.2.17 PolyPolygon Object

The PolyPolygon Object defines a series of closed polygons.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

NumberOfPolygons

aPointsPerPolygon (variable)

...

aPoints (variable)

...

NumberOfPolygons (2 bytes): A 16-bit unsigned integer that defines the number of polygons in the object.

aPointsPerPolygon (variable): A NumberOfPolygons array of 16-bit unsigned integers that define the number of points for each polygon in the object.

aPoints (variable): An array of PointS values that define the coordinates of the polygons. The length of the array is equal to the sum of all 16-bit integers in the aPointsPerPolygon array.