#include <vertex.h>
Inheritance diagram for A48::Vertex:
Public Member Functions | |
Vertex () | |
The constructor initializates the class variables to null values. | |
int | level () |
Returns vertex resolution level. | |
bool | is_bdry () |
Returns true if the vertex belongs to mesh boundary, else return false. | |
bool | is_inbase () |
Returns true if the vertex belongs to base mesh, else return false. | |
bool | is_weld (Face *exclude=NULL) |
Returns true if the vertex is a weld vertex, else return false,. | |
Hedge * | star_first () const |
Returns the half-edge of the vertex. | |
Hedge * | star_next (Hedge *h) const |
Returns pointer to next half-edge in face loop. | |
Private Member Functions | |
void | set_level (int l) |
Initializes the resolution level value. | |
void | set_star (Hedge *h) |
Inicializes the vertex half-edge. | |
Private Attributes | |
int | l_ |
vertex resolution level. | |
Hedge * | s_ |
vertex incoming half-edge (star handle). |
Definition at line 20 of file vertex.h.
|
Returns true if the vertex belongs to mesh boundary, else return false.
Definition at line 38 of file vertex.h. References A48::Hedge::edge(), A48::Edge::is_bdry(), and s_. Referenced by A48::Mesh::simplify().
|
|
Returns true if the vertex belongs to base mesh, else return false. The base mesh represents the resolution level 0 of the mesh 4-8.
Definition at line 44 of file vertex.h. References level().
|
|
Returns true if the vertex is a weld vertex, else return false,. A weld vertex is a vertex that can be simplified.
Definition at line 51 of file vertex.h. References A48::Hedge::face(), is_weld(), star_first(), star_next(), and A48::Face::weld_vertex(). Referenced by is_weld(), A48::Mesh::update_ref_front(), and A48::Mesh::update_simpl_front().
|
|
Returns vertex resolution level.
Definition at line 34 of file vertex.h. References l_. Referenced by is_inbase(), A48::Face::is_inbase(), A48::Mesh::simplify(), and A48::Mesh::weld().
|
|
Initializes the resolution level value.
Definition at line 76 of file vertex.h. References l_, and set_level(). Referenced by A48::Mesh::bisect(), set_level(), and A48::Mesh::split().
|
|
Inicializes the vertex half-edge.
Definition at line 80 of file vertex.h. References s_, and set_star(). Referenced by A48::Mesh::bisect(), A48::Mesh::flip(), A48::Mesh::link_mesh(), A48::Face::link_star_verts(), set_star(), A48::Mesh::split(), and A48::Mesh::weld().
|
|
Returns the half-edge of the vertex.
Definition at line 62 of file vertex.h. References s_. Referenced by A48::Mesh::bisect(), A48::Mesh::flip(), is_weld(), A48::Mesh::simplify(), A48::Mesh::update_ref_front(), A48::Mesh::update_simpl_front(), and A48::Mesh::weld().
|
|
Returns pointer to next half-edge in face loop.
Definition at line 67 of file vertex.h. References A48::Hedge::face(), A48::Hedge::mate(), A48::Hedge::next(), s_, and star_next(). Referenced by is_weld(), A48::Mesh::simplify(), star_next(), A48::Mesh::update_ref_front(), A48::Mesh::update_simpl_front(), and A48::Mesh::weld().
|