Table 6.180 — 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> instances listed in counterclockwise order. The final segment connecting the last <DRM Vertex> instance to the first <DRM Vertex> instance is implicit, not explicit; that is, the first <DRM Vertex> instance is not duplicated to also appear as the last <DRM Vertex> instance of the <DRM Polygon> instance.

The polygon_flags field specifies the set of Polygon_Flag tokens applicable to the given <DRM Polygon> instance.

Clarifications

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

2 A <DRM Primitive Geometry> instance contains a <DRM Union Of Primitive Geometry> instance as a component only when that <DRM Primitive Geometry> instance can be decomposed into nested <DRM Primitive Geometry> instances, as (for example) a <DRM Polygon> instance can be decomposed into subfaces.

Class diagram

Figure 6.206 — DRM_Polygon

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

polygon_flags

 

Polygon_Flags

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

Example(s)

  • One of the surfaces representing the geometry of a vehicle.