#include <edge.h>
Inheritance diagram for A48::Edge:
Public Member Functions | |
Edge (Vertex *p0, Vertex *p1) | |
Hedge * | hedge (int i) |
Vertex * | org () |
Returns the origin vertex. | |
Vertex * | dst () |
Returns the end vertex. | |
int | level () |
Returns the edge resolution level. | |
bool | is_bdry () |
Returns true if the edge belongs to mesh border, else return false. | |
bool | is_subdiv () |
Returns true if the edge is a subdivision edge, else return false. | |
Private Attributes | |
Hedge | h_ [2] |
Two half-edges. One for each face use. |
This class inherits the Markable class properties (used to convert a general mesh into a triangulated quadrangulation). The Edge class also inherits the MxHeapable class properties. The MxHeapable class is subclass of MxHeap that is a component of the priority_queue class. The MxHeap class is used to refine and simplify schemes of the mesh 4-8.
Definition at line 98 of file edge.h.
|
Updates the vertices of the adge. Also updates the half-edge fields.
Definition at line 19 of file edge.cpp. References h_, A48::Hedge::set_edge(), A48::Hedge::set_face(), A48::Hedge::set_next(), and A48::Hedge::set_org().
|
|
Returns a half-edge specified by the index i. i=0 half-edge of the origin vertex. i=1 half-edge if the end vertex.
Definition at line 34 of file edge.cpp. References h_. Referenced by A48::Mesh::adapt_refine(), A48::Mesh::add_edge(), A48::Mesh::is_triquad(), A48::Mesh::make_triquad(), A48::Hedge::mate(), A48::Mesh::update_ref_front(), and A48::Mesh::update_simpl_front().
|
|
Returns true if the edge belongs to mesh border, else return false.
Definition at line 122 of file edge.h. References A48::Hedge::face(), and h_. Referenced by A48::Vertex::is_bdry(), A48::Hedge::is_bdry(), and A48::Mesh::is_triquad().
|
|
Returns true if the edge is a subdivision edge, else return false. The edge is a subdiv edge if its half-edges are subdiv half-edges. Definition at line 127 of file edge.h. References h_, and A48::Hedge::is_subdiv_itself(). Referenced by A48::Mesh::update_ref_front().
|