PolygonalDescription

 
 
 

The internal representation of a mesh's polygon structure. This consists of an array of indices that specify the vertices in order (counter-clockwise if the normal is facing you), followed by -2 to terminate the polygon, followed by the next polygon, and so on.

For example, [0, 1, 2, -2, 2, 1, 3, 4, -2] forms a triangle and a quad joined by an edge with the points 1 and 2 in common.

When using Create Topo to create a topology attribute from a polygonal description, make sure that all integers are valid vertex indices. The last polygon must be terminated. You can use any negative number to terminate a polygon when setting values, but -2 is always returned if you get this attribute.

Data Type

array of integers

Belongs To

objects

Geometry Types

Attribute Type

inherent

R/W or RO:

read-only

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License