a48
2.0.2
|
Base type for a vertex. More...
#include <vertext.hh>
Public Types | |
typedef Traits::halfedge_type | halfedge_type |
halfedge definition | |
typedef Traits::face_type | face_type |
face definition | |
Public Member Functions | |
VertexT () | |
Default Constructor. | |
VertexT (halfedge_type *_h) | |
bool | is_boundary (void) const |
Verifies if this vertex belongs to the mesh boundary. | |
bool | on_manifold (void) const |
Verifies if this vertex is on a manifold. | |
void | set_halfedge (halfedge_type *_h) |
Sets incident halfedge of this vertex. | |
const halfedge_type * | halfedge (void) const |
halfedge_type * | halfedge (void) |
Gets incident halfedge pointing to this vertex. | |
const halfedge_type * | star_next (const halfedge_type *_h) const |
halfedge_type * | star_next (halfedge_type *_h) |
Gets next incident halfedge circulating this vertex clockwise. | |
unsigned int | degree (void) const |
Gets vertex degree or valency of this vertex. | |
unsigned int | incident_faces (void) const |
Gets the number of incident faces to this vertex. | |
bool | is_flip_ok (void) const |
Verifies if this vertex allows incoming or outcoming halfedges to be flipped. | |
bool | is_weld_ok (void) const |
Verifies if this vertex can be welded. |
Base type for a vertex.
Traits | Template argument to access mesh-base definitions |
Definition at line 23 of file vertext.hh.
typedef Traits::halfedge_type a48::VertexT< Traits >::halfedge_type |
halfedge definition
Reimplemented in a48::AdaptiveVertexT< Traits >.
Definition at line 27 of file vertext.hh.
typedef Traits::face_type a48::VertexT< Traits >::face_type |
face definition
Reimplemented in a48::AdaptiveVertexT< Traits >.
Definition at line 28 of file vertext.hh.
a48::VertexT< Traits >::VertexT | ( | ) | [inline] |
Default Constructor.
Definition at line 31 of file vertext.hh.
a48::VertexT< Traits >::VertexT | ( | halfedge_type * | _h | ) | [inline] |
Constructor
[in] | _h | Halfedge this vertex will point to |
Definition at line 36 of file vertext.hh.
bool a48::VertexT< Traits >::is_boundary | ( | void | ) | const [inline] |
Verifies if this vertex belongs to the mesh boundary.
Definition at line 41 of file vertext.hh.
bool a48::VertexT< Traits >::on_manifold | ( | void | ) | const [inline] |
Verifies if this vertex is on a manifold.
Definition at line 54 of file vertext.hh.
const halfedge_type * a48::VertexT< Traits >::halfedge | ( | void | ) | const [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 62 of file vertext.hh.
halfedge_type* a48::VertexT< Traits >::halfedge | ( | void | ) | [inline] |
Gets incident halfedge pointing to this vertex.
Definition at line 66 of file vertext.hh.
const halfedge_type * a48::VertexT< Traits >::star_next | ( | const halfedge_type * | _h | ) | const [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | _h | Previous incoming halfedge constant pointer |
Definition at line 72 of file vertext.hh.
halfedge_type* a48::VertexT< Traits >::star_next | ( | halfedge_type * | _h | ) | [inline] |
Gets next incident halfedge circulating this vertex clockwise.
[in] | _h | Previous incoming halfedge pointer |
Definition at line 82 of file vertext.hh.
unsigned int a48::VertexT< Traits >::degree | ( | void | ) | const [inline] |
Gets vertex degree or valency of this vertex.
Definition at line 92 of file vertext.hh.
unsigned int a48::VertexT< Traits >::incident_faces | ( | void | ) | const [inline] |
Gets the number of incident faces to this vertex.
Definition at line 107 of file vertext.hh.
References a48::VertexT< Traits >::halfedge(), and a48::VertexT< Traits >::star_next().
bool a48::VertexT< Traits >::is_flip_ok | ( | void | ) | const [inline] |
Verifies if this vertex allows incoming or outcoming halfedges to be flipped.
Definition at line 117 of file vertext.hh.
References a48::VertexT< Traits >::degree(), and a48::VertexT< Traits >::is_boundary().
bool a48::VertexT< Traits >::is_weld_ok | ( | void | ) | const [inline] |
Verifies if this vertex can be welded.
Definition at line 125 of file vertext.hh.
References a48::VertexT< Traits >::degree(), and a48::VertexT< Traits >::is_boundary().
void a48::VertexT< Traits >::set_halfedge | ( | halfedge_type * | _h | ) | [inline] |
Sets incident halfedge of this vertex.
[in] | _h | Halfedge pointer |
Definition at line 135 of file vertext.hh.