Class storing information about a single edge 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 edge in its parent face. More... | |
ShapeAnalyzerFace | Face (void) const |
Returns the parent face of the edge. | |
bool | HasAdjacentEdge (void) const |
Returns true if this edge has an adjacent edge (and adjacent face) | |
ShapeAnalyzerEdge | AdjacentEdge (void) const |
Returns the adjacent edge to this edge. More... | |
bool | HasOppositeVert (void) const |
Returns true if this edge has an opposite vertex (triangles only) | |
ShapeAnalyzerVert | OppositeVert (void) const |
Returns the opposite vertex (if any) More... | |
bool | IsContinuousEdge (void) const |
Returns true if the edge is continuous. | |
bool | IsSmoothEdge (void) const |
Returns true if the edge is smooth. | |
bool | IsStripEdge (void) const |
Returns true if the edge is a connecting edge of a triangle strip. | |
bool | IsFanEdge (void) const |
Returns true if the edge is a connecting edge of a triangle fan. | |
Class storing information about a single edge of a generated/loaded mesh.
ShapeAnalyzerEdge oglplus::shapes::ShapeAnalyzerEdge::AdjacentEdge | ( | void | ) | const |
Returns the adjacent edge to this edge.
GLuint oglplus::shapes::ShapeAnalyzerEdge::Index | ( | void | ) | const |
Returns the index of the edge in its parent face.
ShapeAnalyzerVert oglplus::shapes::ShapeAnalyzerEdge::OppositeVert | ( | void | ) | const |
Returns the opposite vertex (if any)