2.2.4.1 MIL_SEGMENT_LINE

The MIL_SEGMENT_LINE packet describes the contents of a line segment.


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

reserved

Point (16 bytes)

...

...

Type (4 bytes): A MilSegmentType enumeration. The value of this field MUST be equal to 0x00000001.

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. For information on path figures see MIL_PATHFIGURE (section 2.2.4.3).

reserved (4 bytes): Reserved. MUST be set to zero when sent, and MUST be ignored when received.

Point (16 bytes): A MilPoint structure. The end point of this line segment.

The start point of this segment is the end point of the previous segment. If this segment is the first segment in the current path figure, the start point of this segment is the start point of the current path figure. For information on path figures see MIL_PATHFIGURE (section 2.2.4.3).