Table 6.181 — DRM_Polygon

Property

Description

Class

  • <DRM Polygon>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class specifies a bounded portion of a plane, defined by a set of three or more <DRM Vertex> components listed in counterclockwise order. The final segment connecting the last <DRM Vertex> component to the first <DRM Vertex> component is implicit, not explicit. That is, the first <DRM Vertex> component is not duplicated to also appear as the last <DRM Vertex> component of the <DRM Polygon> instance.

The polygon_flags field specifies the set of 5.2.8.6 Polygon_Flag members applicable to the <DRM Polygon> instance. For a <DRM Polygon> instance with a <DRM Polygon Control Link> component X, the value of the polygon_flags field is obtained from X.

Class diagram

Figure 6.216 — DRM_Polygon

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

polygon_flags

 

Polygon_Flag

Default field values

Default field values for DRM_Polygon

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

  • None.

Associated by (one-way) (inherited)

  • None.

Associated by (one-way)

  • None.

Associated with (two-way) (inherited)

  • None.

Associated with (two-way)

Composed of (two-way) (inherited)

Composed of (two-way)

Composed of (two-way metadata) (inherited)

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

Component of (two-way)

Constraints

Clarifications

1A <DRM Geometry Face> instance associated with a <DRM Polygon> instance represents the topology of the specified face (front or back) of that <DRM Polygon> instance.

2A <DRM Primitive Geometry> instance P has a <DRM Union Of Primitive Geometry> component only when P can be decomposed into nested <DRM Primitive Geometry> instances.

EXAMPLE  A <DRM Polygon> instance can be decomposed into multiple <DRM Polygon> instances representing subfaces.

3If a <DRM Polygon> instance is subject to dynamic control (that is, if its flags can be turned on and off), it has a <DRM Polygon Control Link> component to express that control mechanism.

Example(s)

  • A <DRM Polygon> instance represented by multiple subfaces each of which are other <DRM Polygon> instances is depicted in Figure 6.217.

    Polygon, Example 1, Diagram 1

    Figure 6.217 — <DRM Polygon> polygon subfacing example

    The resulting DRM objects are depicted in Figure 6.218.

    Polygon, Example 1, Diagram 2

    Figure 6.218 — <DRM Polygon> example

    In processing these subfaces, the traversal and drawing order of the DRM objects is depth first.