vcg::hedge::Pos< MeshType > Class Template Reference

Class implementing a Pos using halfedges. More...

#include <halfedge_pos.h>

List of all members.

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

Detailed Description

template<class MeshType>
class vcg::hedge::Pos< MeshType >

Class implementing a Pos using halfedges.

Definition at line 12 of file halfedge_pos.h.


Member Typedef Documentation

template<class MeshType>
typedef MeshType::EdgePointer vcg::hedge::Pos< MeshType >::EdgePointer

Definition at line 18 of file halfedge_pos.h.

template<class MeshType>
typedef MeshType::FacePointer vcg::hedge::Pos< MeshType >::FacePointer

Definition at line 20 of file halfedge_pos.h.

template<class MeshType>
typedef MeshType::HEdgePointer vcg::hedge::Pos< MeshType >::HEdgePointer

Definition at line 19 of file halfedge_pos.h.

template<class MeshType>
typedef MeshType::VertexPointer vcg::hedge::Pos< MeshType >::VertexPointer

Definition at line 17 of file halfedge_pos.h.


Constructor & Destructor Documentation

template<class MeshType>
vcg::hedge::Pos< MeshType >::Pos ( HEdgePointer  hep,
bool  dir 
) [inline]

Definition at line 39 of file halfedge_pos.h.

template<class MeshType>
vcg::hedge::Pos< MeshType >::Pos ( HEdgePointer  hep  )  [inline]

Definition at line 48 of file halfedge_pos.h.


Member Function Documentation

template<class MeshType>
EdgePointer vcg::hedge::Pos< MeshType >::E (  )  [inline]

Gets pointed edge

Definition at line 114 of file halfedge_pos.h.

template<class MeshType>
FacePointer vcg::hedge::Pos< MeshType >::F (  )  [inline]

Gets pointed face

Definition at line 122 of file halfedge_pos.h.

template<class MeshType>
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.

template<class MeshType>
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.

template<class MeshType>
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.

template<class MeshType>
HEdgePointer vcg::hedge::Pos< MeshType >::HE (  )  [inline]

Gets pointed hedge

Definition at line 106 of file halfedge_pos.h.

template<class MeshType>
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.

template<class MeshType>
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.

template<class MeshType>
VertexPointer vcg::hedge::Pos< MeshType >::V (  )  [inline]

Gets pointed vertex

Definition at line 95 of file halfedge_pos.h.


Member Data Documentation

template<class MeshType>
bool vcg::hedge::Pos< MeshType >::direction

Direction of movement:

0 = clockwise

1 = counter-clockwise

Definition at line 34 of file halfedge_pos.h.

template<class MeshType>
HEdgePointer vcg::hedge::Pos< MeshType >::he

Halfedge used to move in the mesh

Definition at line 25 of file halfedge_pos.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:24 2013