Class implementing a Pos using halfedges. More...
#include <halfedge_pos.h>
Public Types | |
typedef MeshType::EdgePointer | EdgePointer |
typedef MeshType::FacePointer | FacePointer |
typedef MeshType::HEdgePointer | HEdgePointer |
typedef MeshType::VertexPointer | VertexPointer |
Public Member Functions | |
EdgePointer | E () |
FacePointer | F () |
void | FlipE () |
void | FlipF () |
void | FlipV () |
HEdgePointer | HE () |
bool | operator!= (Pos const &p) const |
bool | operator== (Pos const &p) const |
Pos (HEdgePointer hep) | |
Pos (HEdgePointer hep, bool dir) | |
VertexPointer | V () |
Public Attributes | |
bool | direction |
HEdgePointer | he |
Class implementing a Pos using halfedges.
Definition at line 12 of file halfedge_pos.h.
typedef MeshType::EdgePointer vcg::hedge::Pos< MeshType >::EdgePointer |
Definition at line 18 of file halfedge_pos.h.
typedef MeshType::FacePointer vcg::hedge::Pos< MeshType >::FacePointer |
Definition at line 20 of file halfedge_pos.h.
typedef MeshType::HEdgePointer vcg::hedge::Pos< MeshType >::HEdgePointer |
Definition at line 19 of file halfedge_pos.h.
typedef MeshType::VertexPointer vcg::hedge::Pos< MeshType >::VertexPointer |
Definition at line 17 of file halfedge_pos.h.
vcg::hedge::Pos< MeshType >::Pos | ( | HEdgePointer | hep, | |
bool | dir | |||
) | [inline] |
Definition at line 39 of file halfedge_pos.h.
vcg::hedge::Pos< MeshType >::Pos | ( | HEdgePointer | hep | ) | [inline] |
Definition at line 48 of file halfedge_pos.h.
EdgePointer vcg::hedge::Pos< MeshType >::E | ( | ) | [inline] |
Gets pointed edge
Definition at line 114 of file halfedge_pos.h.
FacePointer vcg::hedge::Pos< MeshType >::F | ( | ) | [inline] |
Gets pointed face
Definition at line 122 of file halfedge_pos.h.
void vcg::hedge::Pos< MeshType >::FlipE | ( | ) | [inline] |
Changes edge and hedge mantaining the same vertex and the same face
Definition at line 65 of file halfedge_pos.h.
void vcg::hedge::Pos< MeshType >::FlipF | ( | ) | [inline] |
Changes face mantaininge the same vertex and the same edge
Definition at line 86 of file halfedge_pos.h.
void vcg::hedge::Pos< MeshType >::FlipV | ( | ) | [inline] |
Changes vertex mantaininge the same edge and the same face
Definition at line 57 of file halfedge_pos.h.
HEdgePointer vcg::hedge::Pos< MeshType >::HE | ( | ) | [inline] |
Gets pointed hedge
Definition at line 106 of file halfedge_pos.h.
bool vcg::hedge::Pos< MeshType >::operator!= | ( | Pos< MeshType > const & | p | ) | const [inline] |
Operator to check if two Pos are different
Definition at line 138 of file halfedge_pos.h.
bool vcg::hedge::Pos< MeshType >::operator== | ( | Pos< MeshType > const & | p | ) | const [inline] |
Operator to check if two Pos are equal
Definition at line 130 of file halfedge_pos.h.
VertexPointer vcg::hedge::Pos< MeshType >::V | ( | ) | [inline] |
Gets pointed vertex
Definition at line 95 of file halfedge_pos.h.
bool vcg::hedge::Pos< MeshType >::direction |
Direction of movement:
0 = clockwise
1 = counter-clockwise
Definition at line 34 of file halfedge_pos.h.
HEdgePointer vcg::hedge::Pos< MeshType >::he |
Halfedge used to move in the mesh
Definition at line 25 of file halfedge_pos.h.