Class storing information about a single face of a generated/loaded mesh. More...
#include </home/chochlik/devel/oglplus/include/oglplus/shapes/analyzer.hpp>
Public Member Functions | |
| GLuint | Index (void) const |
| Returns the index of the face in the mesh that it belongs to. | |
| GLuint | Arity (void) const |
| The number of edges (or vertices) of this face. More... | |
| ShapeAnalyzerVert | Vert (GLuint vert_index) const |
| Returns the vert_index-th vertex of this face. More... | |
| ShapeAnalyzerEdge | Edge (GLuint edge_index) const |
| Returns the edge_index-th edge of this face. More... | |
| bool | HasAdjacentFace (GLuint edge_index) const |
| Returns true if the edge_index-th edge has an adjacent face. More... | |
| ShapeAnalyzerFace | AdjacentFace (GLuint edge_index) const |
| Returns the edge_index-th adjacent face. More... | |
Class storing information about a single face of a generated/loaded mesh.
| ShapeAnalyzerFace oglplus::shapes::ShapeAnalyzerFace::AdjacentFace | ( | GLuint | edge_index | ) | const |
Returns the edge_index-th adjacent face.
| GLuint oglplus::shapes::ShapeAnalyzerFace::Arity | ( | void | ) | const |
The number of edges (or vertices) of this face.
| ShapeAnalyzerEdge oglplus::shapes::ShapeAnalyzerFace::Edge | ( | GLuint | edge_index | ) | const |
Returns the edge_index-th edge of this face.
| bool oglplus::shapes::ShapeAnalyzerFace::HasAdjacentFace | ( | GLuint | edge_index | ) | const |
Returns true if the edge_index-th edge has an adjacent face.
| ShapeAnalyzerVert oglplus::shapes::ShapeAnalyzerFace::Vert | ( | GLuint | vert_index | ) | const |
Returns the vert_index-th vertex of this face.