#include <edge.h>
Collaboration diagram for A48::Hedge:
Public Member Functions | |
Face * | face () |
Returns the half-egde's face. | |
Vertex * | org () |
Returns the half-edge's origin vertex. | |
Vertex * | dst () |
Returns the end vertex of the half-edge. | |
Edge * | edge () |
Returns the half-edges's parent edge. | |
Hedge * | prev () |
Returns the previous half-edge. | |
Hedge * | next () |
Returns the next half-edge. | |
Hedge * | mate () |
Returns the opposite half-edge. | |
int | level () |
Returns half-edge resolution level. | |
bool | is_bdry () |
Returns true if a half-edge belongs to mesh's boundary, else return false. | |
bool | is_subdiv_itself () |
Returns true if the half-edge is a split half-edge, else return false. | |
Private Member Functions | |
void | set_face (Face *f) |
Links half-edge to face. | |
void | set_org (Vertex *v) |
Links half-edge to vertex. | |
void | set_next (Hedge *h) |
Updates next half-edge. | |
void | set_edge (Edge *e) |
Links half-edge to edge. | |
Hedge * | reuse (Vertex *v0, Vertex *v1) |
Redefines the vertices of the half-edge. | |
Private Attributes | |
Vertex * | o_ |
Origin vertex pointer. | |
Hedge * | n_ |
Next half-edge pointer. | |
Face * | f_ |
Face pointer. | |
Edge * | e_ |
Edge pointer. |
Definition at line 17 of file edge.h.
|
Returns the end vertex of the half-edge.
Definition at line 39 of file edge.h. Referenced by A48::Mesh::bisect(), A48::Mesh::flip(), level(), A48::Mesh::link_mesh(), A48::Mesh::update_ref_front(), and A48::Mesh::update_simpl_front().
|
|
Returns the half-edges's parent edge.
Definition at line 43 of file edge.h. References e_. Referenced by A48::Mesh::bisect(), A48::Vertex::is_bdry(), is_bdry(), A48::Mesh::refine(), A48::Mesh::simplify(), A48::Mesh::update_ref_front(), and A48::Mesh::update_simpl_front().
|
|
Returns the half-egde's face.
Definition at line 31 of file edge.h. References f_. Referenced by A48::Mesh::flip(), A48::Edge::is_bdry(), is_subdiv_itself(), A48::Mesh::is_triquad(), A48::Vertex::is_weld(), A48::Mesh::make_triquad(), A48::Mesh::refine(), A48::Mesh::split(), A48::Vertex::star_next(), and A48::Mesh::update_ref_front().
|
|
Returns true if a half-edge belongs to mesh's boundary, else return false. Verifies if the edge belongs the mesh boundary.
Definition at line 70 of file edge.cpp. References edge(), and A48::Edge::is_bdry(). Referenced by A48::Mesh::link_mesh().
|
|
Returns true if the half-edge is a split half-edge, else return false.
Definition at line 65 of file edge.h. References face(), and A48::Face::subd_edge(). Referenced by A48::Edge::is_subdiv(), and A48::Mesh::update_simpl_front().
|
|
Returns half-edge resolution level. Returns the half-edge level. The resolution level of the half-edge is defined by the vertex that belongs the highest resolution level.
Definition at line 80 of file edge.cpp. Referenced by A48::Mesh::bisect(), and A48::Edge::level().
|
|
Returns the opposite half-edge.
Definition at line 47 of file edge.cpp. References e_, and A48::Edge::hedge(). Referenced by A48::Mesh::bisect(), dst(), A48::Mesh::flip(), A48::Mesh::refine(), reuse(), A48::Mesh::split(), A48::Vertex::star_next(), A48::Mesh::update_simpl_front(), and A48::Mesh::weld().
|
|
Returns the next half-edge.
Definition at line 51 of file edge.h. References n_. Referenced by A48::Mesh::flip(), A48::Face::hedge(), prev(), A48::Mesh::split(), A48::Vertex::star_next(), A48::Mesh::update_ref_front(), A48::Mesh::update_simpl_front(), and A48::Mesh::weld().
|
|
Returns the half-edge's origin vertex.
Definition at line 35 of file edge.h. References o_. Referenced by A48::Mesh::bisect(), A48::Edge::dst(), dst(), A48::Mesh::flip(), level(), A48::Edge::org(), A48::Mesh::simplify(), and A48::Face::vertex().
|
|
Returns the previous half-edge.
Definition at line 47 of file edge.h. Referenced by A48::Mesh::flip(), A48::Mesh::split(), A48::Mesh::update_ref_front(), A48::Mesh::update_simpl_front(), and A48::Mesh::weld().
|
|
Redefines the vertices of the half-edge. Updates the vertices of the half-edge.
Definition at line 58 of file edge.cpp. References mate(), set_face(), set_next(), and set_org(). Referenced by A48::Mesh::bisect(), A48::Mesh::flip(), and A48::Mesh::weld().
|