A "set" (since it's ordered, sequence is more correct nomenclature) of three-tuples of zero-indexed vertex indices describing triangles. More...
Public Member Functions | |
| IndexSet (const IndexSet &other) | |
| IndexSet & | operator= (const IndexSet &other) |
| void | add_triangle (boost::uint32_t v1, boost::uint32_t v2, boost::uint32_t v3) |
| Add a triangle. | |
| void | add_quad (boost::uint32_t v1, boost::uint32_t v2, boost::uint32_t v3, boost::uint32_t v4) |
| Add a quadrangle. | |
| void | add_convex_polygon (const std::vector< boost::uint32_t > &inds) |
| Add a convex polygon. | |
| void | clear () |
| bool | empty () const |
A "set" (since it's ordered, sequence is more correct nomenclature) of three-tuples of zero-indexed vertex indices describing triangles.
For example, (0, 7, 8) describes the triangle formed by vertex 0, 7 and 8. Primitives are specified in counterclockwise order.
| void add_convex_polygon | ( | const std::vector< boost::uint32_t > & | inds | ) |
Add a convex polygon.
1.7.1