Polygon (plygn)

key: plygn

type: iii(i)*

  1. integer: vertex index.
  2. integer: vertex index.
  3. integer: vertex index.

Description

A polygon with arbitrary number of vertices.

Conventions

By convention the polygon should be right handed and not self-intersecting. Usually reserved for polygons with more than four vertices but not always.

Examples

msh  % a mesh with a square as a polygon
"" mtrlNm "mat" end
   vrtxPstn
     0.5 -0.5 0.0
     0.5  0.5 0.0
     -0.5  0.5 0.0
     -0.5 -0.5 0.0
   end
   vrtxUV    % used for texture mapping
     1.0 0.0
     1.0 1.0
     0.0 1.0
     0.0 0.0
   end
   plygn
     0 1 2 3
   end
end