2.2.4.4 MIL_PATHGEOMETRY

The MIL_PATHGEOMETRY packet describes the contents of a path geometry. It is immediately followed by a set of path figure structures, along with their payloads, in the Figures field. The FigureCount field specifies the quantity of structures in the set.


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

messageSize

Flags

Bounds (32 bytes)

...

...

FigureCount

reserved

Figures (variable)

...

messageSize (4 bytes): A 32-bit unsigned integer. The total size of this message and its payload in bytes. The value of this field MUST be greater than or equal to 0x00000030 and MUST be divisible by four.

Flags (4 bytes): A MilPathGeometryFlags enumeration. The properties of this path geometry.

Bounds (32 bytes): A MilRectRB structure. The axis-aligned bounds of this path geometry.

FigureCount (4 bytes): A 32-bit unsigned integer. The number of path figures in this path geometry.

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

Figures (variable): A variable-length array of MIL_PATHFIGURE structures. This is the collection of path figures contained in this path geometry. The value of this field MUST be a sequence of exactly FigureCount valid MIL_PATHFIGURE structures along with their payloads.