OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::shapes::ShapeAnalyzerEdge Class Reference

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.
 

Detailed Description

Class storing information about a single edge of a generated/loaded mesh.

See Also
ShapeAnalyzer
ShapeAnalyzerVert
ShapeAnalyzerFace

Member Function Documentation

ShapeAnalyzerEdge oglplus::shapes::ShapeAnalyzerEdge::AdjacentEdge ( void  ) const

Returns the adjacent edge to this edge.

Precondition
HasAdjacentEdge()
Examples:
standalone/001_shape2dot.cpp.
GLuint oglplus::shapes::ShapeAnalyzerEdge::Index ( void  ) const

Returns the index of the edge in its parent face.

Postcondition
Index() < Face().Arity()
Examples:
standalone/001_shape2dot.cpp.
ShapeAnalyzerVert oglplus::shapes::ShapeAnalyzerEdge::OppositeVert ( void  ) const

Returns the opposite vertex (if any)

Precondition
HasOppositeVert()

The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/shapes/analyzer.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).