h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <Silhouette.h>
Inheritance diagram for FEdge:
Public Member Functions | |
virtual string | getExactTypeName () const |
virtual real | getLength2D () const |
virtual Id | getId () const |
FEdge () | |
FEdge (SVertex *vA, SVertex *vB) | |
FEdge (FEdge &iBrother) | |
virtual | ~FEdge () |
virtual FEdge * | dupplicate () |
SVertex * | vertexA () |
SVertex * | vertexB () |
SVertex * | operator[] (const unsigned short int &i) const |
Nature::EdgeNature | getNature () const |
FEdge * | nextEdge () |
FEdge * | previousEdge () |
ViewEdge * | viewedge () const |
bool | isSmooth () const |
void | SetVertexA (SVertex *vA) |
void | SetVertexB (SVertex *vB) |
void | SetId (const Id &id) |
void | SetNextEdge (FEdge *iEdge) |
void | SetPreviousEdge (FEdge *iEdge) |
void | SetNature (Nature::EdgeNature iNature) |
void | SetViewEdge (ViewEdge *iViewEdge) |
void | SetSmooth (bool iFlag) |
virtual Interface0DIterator | verticesBegin () |
virtual Interface0DIterator | verticesEnd () |
virtual Interface0DIterator | pointsBegin (float t=0.f) |
virtual Interface0DIterator | pointsEnd (float t=0.f) |
Public Attributes | |
void * | userdata |
FEdge | ( | ) | [inline] |
Default constructor
virtual ~FEdge | ( | ) | [inline, virtual] |
Destructor
virtual string getExactTypeName | ( | ) | const [inline, virtual] |
Returns the string "FEdge" .
Reimplemented from Interface1D.
virtual real getLength2D | ( | ) | const [inline, virtual] |
Returns the 2D length of the FEdge.
Reimplemented from Interface1D.
virtual Id getId | ( | ) | const [inline, virtual] |
Reimplemented from Interface1D.
virtual FEdge* dupplicate | ( | ) | [inline, virtual] |
Cloning method.
Reimplemented in FEdgeSharp, and FEdgeSmooth.
SVertex* operator[] | ( | const unsigned short int & | i | ) | const [inline] |
Nature::EdgeNature getNature | ( | ) | const [inline, virtual] |
Returns the nature of the FEdge.
Reimplemented from Interface1D.
FEdge* nextEdge | ( | ) | [inline] |
FEdge* previousEdge | ( | ) | [inline] |
ViewEdge* viewedge | ( | ) | const [inline] |
void SetNature | ( | Nature::EdgeNature | iNature | ) | [inline] |
Sets the nature of this FEdge.
void SetViewEdge | ( | ViewEdge * | iViewEdge | ) | [inline] |
void SetSmooth | ( | bool | iFlag | ) | [inline] |
Sets the flag telling whether this FEdge is smooth or sharp. true for Smooth, false for Sharp.
Interface0DIterator verticesBegin | ( | ) | [inline, virtual] |
Returns an iterator over the 2 (!) SVertex pointing to the first SVertex.
Implements Interface1D.
Interface0DIterator verticesEnd | ( | ) | [inline, virtual] |
Returns an iterator over the 2 (!) SVertex pointing after the last SVertex.
Implements Interface1D.
Interface0DIterator pointsBegin | ( | float | t = 0.f |
) | [inline, virtual] |
Returns an iterator over the FEdge points, pointing to the first point. The difference with verticesBegin() is that here we can iterate over points of the FEdge at a any given sampling. Indeed, for each iteration, a virtual point is created.
t | The sampling with which we want to iterate over points of this FEdge. |
Implements Interface1D.
Interface0DIterator pointsEnd | ( | float | t = 0.f |
) | [inline, virtual] |
Returns an iterator over the FEdge points, pointing after the last point. The difference with verticesEnd() is that here we can iterate over points of the FEdge at a any given sampling. Indeed, for each iteration, a virtual point is created.
t | The sampling with which we want to iterate over points of this FEdge. |
Implements Interface1D.
void* userdata |
A field that can be used by the user to store any data. This field must be reseted afterwards using ResetUserData().