Collaboration diagram for col::TopoFace:

Public Member Functions | |
| TopoFace (const unsigned int vertex_indices[], unsigned int size) | |
| Construct a face from a C array. | |
| TopoFace (const std::vector< unsigned int > &v) | |
| Construct a face from a vector. | |
| TopoFace (const TopoFace &source) | |
| Copy a face. | |
| TopoFace (void) | |
| empty face | |
| void | operator= (const TopoFace &source) |
| Copy a face. | |
| void | set (const unsigned int vertex_indices[], unsigned int size) |
| Copy a face from a C array. | |
| void | print (void) const |
| Print the indices of a face (prints no at the end). | |
| unsigned int & | operator[] (int index) |
| Return vertex index of i-th face vertex. | |
| unsigned int | operator[] (int index) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| unsigned int | size (void) const |
| Size of the vertex index array. | |
| void | resize (unsigned int newsize) |
| Resize the vertex index array. | |
Public Attributes | |
| std::vector< unsigned int > | v |
| A face is just an array of indices into some vertex array. | |
| unsigned int & col::TopoFace::operator[] | ( | int | i | ) |
1.5.2