2.2.4.2 MIL_SEGMENT_POLY

The MIL_SEGMENT_POLY packet describes the control points of a poly segment (a segment consisting of one or more line segments).


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

Type

Flags

BackSize

Count

ControlPoints (variable)

...

Type (4 bytes): A MilSegmentType enumeration. The value of this field MUST be set to 0x00000005, which indicates a poly-line segment.

Flags (4 bytes): A MilPathSegmentFlags enumeration. The properties of this segment.

BackSize (4 bytes): A 32-bit unsigned integer. The offset to the first byte of this structure. The offset is measured in bytes, relative to the first byte of the previous segment structure in the current path figure. The value of this field MUST be set to zero if this is the first segment in the current path figure.

Count (4 bytes): A 32-bit unsigned integer. The number of control points.

ControlPoints (variable): A variable-length array of MilPoint structures. This is the collection of control points determining the shape of this poly segment.