#include <mesh.h>
Collaboration diagram for Mesh::Vertex:
Public Member Functions | |
Vertex (Point *p) | |
The constructor initializates the class variables to null values. | |
~Vertex () | |
The Edge class destructor. | |
Point * | p () |
Returns the geometry and attribute information. | |
void | set_star (Hedge *h) |
Initializes the vertex half-edge. | |
Hedge * | star_first () |
Returns the half-edge of the vertex. | |
Hedge * | star_next (Hedge *h) |
Returns pointer to next half-edge in face loop. | |
bool | is_bdry () |
Returns true if the vertex belongs to mesh boundary, else return false. | |
Private Attributes | |
Hedge * | s_ |
vertex incoming half-edge (star handle). | |
Point * | p_ |
geometry and attribute information. |
Definition at line 479 of file mesh.h.
|
The constructor initializates the class variables to null values.
Definition at line 487 of file mesh.h.
|
|
The Edge class destructor.
Definition at line 490 of file mesh.h.
|
|
Returns true if the vertex belongs to mesh boundary, else return false.
Definition at line 513 of file mesh.h. References Mesh::Hedge::edge(), Mesh::Edge::is_bdry(), and s_. Referenced by Mesh::Surf::detach_handle_3(), and Mesh::Surf::unglue(). 00513 { return s_->edge()->is_bdry(); };
|
|
Returns the geometry and attribute information.
Definition at line 493 of file mesh.h. References p_. Referenced by Mesh::Surf::attach_handle_1(), Mesh::Surf::attach_handle_2(), Mesh::Surf::attach_handle_3(), Mesh::Surf::destroy(), Mesh::Surf::detach_handle_1(), Mesh::Surf::detach_handle_2(), and Vertex(). 00493 { return p_; };
|
|
Initializes the vertex half-edge.
Definition at line 497 of file mesh.h. References s_. Referenced by Mesh::Surf::attach_handle_1(), Mesh::Surf::attach_handle_2(), Mesh::Surf::attach_handle_4(), Mesh::Surf::create(), Mesh::Surf::detach_handle_1(), Mesh::Surf::detach_handle_2(), Mesh::Surf::detach_handle_4(), Mesh::Surf::flip(), and Mesh::Surf::split(). 00497 { s_ = h; };
|
|
Returns the half-edge of the vertex.
Definition at line 501 of file mesh.h. References s_. Referenced by Mesh::Surf::attach_handle_1(), Mesh::Surf::attach_handle_2(), Mesh::Surf::attach_handle_3(), Mesh::Surf::detach_handle_1(), Mesh::Surf::detach_handle_2(), Mesh::Surf::flip(), Mesh::Surf::unglue(), and Mesh::Surf::weld(). 00501 { return s_; };
|
|
Returns pointer to next half-edge in face loop.
Definition at line 506 of file mesh.h. References Mesh::Hedge::face(), Mesh::Hedge::mate(), Mesh::Hedge::next(), and s_. Referenced by Mesh::Surf::weld(). 00506 { 00507 if (h->face() ==NULL ) return NULL; // other side of bdry 00508 else { Hedge *n = h->next()->mate(); return (n == s_)? NULL : n; } 00509 }
|
|
geometry and attribute information.
|
|
vertex incoming half-edge (star handle).
Definition at line 481 of file mesh.h. Referenced by is_bdry(), set_star(), star_first(), star_next(), and Vertex(). |