MeshKit  1.0
SwapQuadEdge Class Reference

#include <SwapEdges.hpp>

Inheritance diagram for SwapQuadEdge:

List of all members.

Classes

struct  BackUpData

Public Member Functions

 SwapQuadEdge (Mesh *m, Vertex *v0, Vertex *v1, Face *firstface=NULL)
 SwapQuadEdge (Mesh *m, Edge *e, Face *firstface=NULL)
void clear ()
void modify_fronts (int v)
int apply_reduce_degree_rule ()
int apply_concave_rule ()
int apply_bound_rule ()
int apply_singlet_rule (Vertex *singlet)
int apply_deficient_rule (Vertex *v)
int apply_advance_front_rule ()

Static Public Member Functions

static bool is_topologically_valid_swap (int d1, int d2, int d3, int d4)

Private Member Functions

void backup ()
void rollback ()
int getPosOf (const Vertex *v) const
int build_boundary ()
int get_boundary_nodes_chain ()
int make_new_diagonal_at (int pos, bool bound_check=1)
int hasLessNodes (Vertex *vertex, int layerid)
int hasExcessNodes (Vertex *vertex, int layerid)
void update_front ()

Private Attributes

bool check_fronts
FacefirstFace
Edgeedge
NodeSequence bound_nodes
BackUpData bkp_data

Detailed Description

Definition at line 144 of file SwapEdges.hpp.


Constructor & Destructor Documentation

SwapQuadEdge ( Mesh m,
Vertex v0,
Vertex v1,
Face firstface = NULL 
) [inline]

Definition at line 148 of file SwapEdges.hpp.

SwapQuadEdge ( Mesh m,
Edge e,
Face firstface = NULL 
) [inline]

Definition at line 158 of file SwapEdges.hpp.


Member Function Documentation

Definition at line 429 of file SwapQuadEdges.cpp.

Definition at line 407 of file SwapQuadEdges.cpp.

Definition at line 392 of file SwapQuadEdges.cpp.

Definition at line 482 of file SwapQuadEdges.cpp.

Definition at line 352 of file SwapQuadEdges.cpp.

int apply_singlet_rule ( Vertex singlet)

Definition at line 450 of file SwapQuadEdges.cpp.

void backup ( ) [private]

Definition at line 205 of file SwapQuadEdges.cpp.

int build_boundary ( ) [private]

Definition at line 84 of file SwapQuadEdges.cpp.

void clear ( ) [inline]

Definition at line 167 of file SwapEdges.hpp.

int get_boundary_nodes_chain ( ) [private]

Definition at line 148 of file SwapQuadEdges.cpp.

int getPosOf ( const Vertex v) const [private]

Definition at line 74 of file SwapQuadEdges.cpp.

int hasExcessNodes ( Vertex vertex,
int  layerid 
) [private]
int hasLessNodes ( Vertex vertex,
int  layerid 
) [private]
bool is_topologically_valid_swap ( int  d1,
int  d2,
int  d3,
int  d4 
) [static]

Definition at line 62 of file SwapQuadEdges.cpp.

int make_new_diagonal_at ( int  pos,
bool  bound_check = 1 
) [private]

Definition at line 252 of file SwapQuadEdges.cpp.

void modify_fronts ( int  v) [inline]

Definition at line 172 of file SwapEdges.hpp.

void rollback ( ) [private]

Definition at line 219 of file SwapQuadEdges.cpp.

void update_front ( ) [private]

Definition at line 173 of file SwapQuadEdges.cpp.


Member Data Documentation

BackUpData bkp_data [private]

Definition at line 194 of file SwapEdges.hpp.

Definition at line 187 of file SwapEdges.hpp.

bool check_fronts [private]

Definition at line 184 of file SwapEdges.hpp.

Edge* edge [private]

Definition at line 186 of file SwapEdges.hpp.

Face* firstFace [private]

Definition at line 185 of file SwapEdges.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines