#include <pos.h>
Public Types | |
typedef Pos< EDGETYPE > | POSTYPE |
typedef EDGETYPE::VertexType | VertexType |
The vertex type. | |
Public Member Functions | |
void | Assert () |
void | FlipE () |
void | FlipV () |
Changes edge maintaining the same face and the same vertex. | |
bool | IsNull () const |
Check if the half-edge is null. | |
void | NextB () |
Finds the next half-edge border. | |
void | NextE () |
Change face via z. | |
bool | operator!= (POSTYPE const &p) const |
Operator to compare two half-edge. | |
bool | operator<= (POSTYPE const &p) const |
Operator to order half-edge; it's compare at the first the face pointers, then the index of the edge and finally the vertex pointers. | |
POSTYPE & | operator= (const POSTYPE &h) |
Assignment operator. | |
bool | operator== (POSTYPE const &p) const |
Operator to compare two half-edge. | |
Pos (EDGETYPE *const ep, int const zp, VertexType *const vp) | |
Constructor which associates the half-edge elementet with a face, its edge and its vertex. | |
Pos () | |
Default constructor. | |
void | Set (EDGETYPE *const ep, VertexType *const vp) |
Checks if the half-edge is of border. | |
void | SetNull () |
Set to null the half-edge. | |
VertexType * | VFlip () |
int | Z () |
Public Attributes | |
EDGETYPE * | e |
Pointer to the face of the half-edge. | |
VertexType * | v |
Pointer to the vertex. |
Class Pos. This structure is equivalent to a half-edge.
MFTYPE | (Template-Parameter) Specifies the type of the edges |
Definition at line 83 of file vcg/simplex/edge/pos.h.
typedef Pos< EDGETYPE> vcg::edge::Pos< EDGETYPE >::POSTYPE |
Definition at line 90 of file vcg/simplex/edge/pos.h.
typedef EDGETYPE::VertexType vcg::edge::Pos< EDGETYPE >::VertexType |
The vertex type.
Definition at line 88 of file vcg/simplex/edge/pos.h.
vcg::edge::Pos< EDGETYPE >::Pos | ( | ) | [inline] |
Default constructor.
Definition at line 102 of file vcg/simplex/edge/pos.h.
vcg::edge::Pos< EDGETYPE >::Pos | ( | EDGETYPE *const | ep, | |
int const | zp, | |||
VertexType *const | vp | |||
) | [inline] |
Constructor which associates the half-edge elementet with a face, its edge and its vertex.
Definition at line 104 of file vcg/simplex/edge/pos.h.
void vcg::edge::Pos< EDGETYPE >::Assert | ( | ) | [inline] |
Definition at line 240 of file vcg/simplex/edge/pos.h.
void vcg::edge::Pos< EDGETYPE >::FlipE | ( | ) | [inline] |
Definition at line 162 of file vcg/simplex/edge/pos.h.
void vcg::edge::Pos< EDGETYPE >::FlipV | ( | ) | [inline] |
Changes edge maintaining the same face and the same vertex.
Definition at line 158 of file vcg/simplex/edge/pos.h.
bool vcg::edge::Pos< EDGETYPE >::IsNull | ( | ) | const [inline] |
Check if the half-edge is null.
Definition at line 134 of file vcg/simplex/edge/pos.h.
void vcg::edge::Pos< EDGETYPE >::NextB | ( | ) | [inline] |
Finds the next half-edge border.
Definition at line 189 of file vcg/simplex/edge/pos.h.
void vcg::edge::Pos< EDGETYPE >::NextE | ( | ) | [inline] |
Change face via z.
Definition at line 141 of file vcg/simplex/edge/pos.h.
bool vcg::edge::Pos< EDGETYPE >::operator!= | ( | POSTYPE const & | p | ) | const [inline] |
Operator to compare two half-edge.
Definition at line 113 of file vcg/simplex/edge/pos.h.
bool vcg::edge::Pos< EDGETYPE >::operator<= | ( | POSTYPE const & | p | ) | const [inline] |
Operator to order half-edge; it's compare at the first the face pointers, then the index of the edge and finally the vertex pointers.
Definition at line 117 of file vcg/simplex/edge/pos.h.
POSTYPE& vcg::edge::Pos< EDGETYPE >::operator= | ( | const POSTYPE & | h | ) | [inline] |
Assignment operator.
Definition at line 123 of file vcg/simplex/edge/pos.h.
bool vcg::edge::Pos< EDGETYPE >::operator== | ( | POSTYPE const & | p | ) | const [inline] |
Operator to compare two half-edge.
Definition at line 108 of file vcg/simplex/edge/pos.h.
void vcg::edge::Pos< EDGETYPE >::Set | ( | EDGETYPE *const | ep, | |
VertexType *const | vp | |||
) | [inline] |
Checks if the half-edge is of border.
Return the dimension of the star Function to inizialize an half-edge.
fp | Puntatore alla faccia | |
zp | Indice dell'edge | |
vp | Puntatore al vertice |
Definition at line 235 of file vcg/simplex/edge/pos.h.
void vcg::edge::Pos< EDGETYPE >::SetNull | ( | ) | [inline] |
Set to null the half-edge.
Definition at line 129 of file vcg/simplex/edge/pos.h.
VertexType* vcg::edge::Pos< EDGETYPE >::VFlip | ( | ) | [inline] |
Definition at line 171 of file vcg/simplex/edge/pos.h.
int vcg::edge::Pos< EDGETYPE >::Z | ( | ) | [inline] |
Definition at line 167 of file vcg/simplex/edge/pos.h.
EDGETYPE* vcg::edge::Pos< EDGETYPE >::e |
Pointer to the face of the half-edge.
Definition at line 97 of file vcg/simplex/edge/pos.h.
VertexType* vcg::edge::Pos< EDGETYPE >::v |
Pointer to the vertex.
Definition at line 99 of file vcg/simplex/edge/pos.h.