MeshKit
1.0
|
#include <DualGraph.hpp>
Public Member Functions | |
DualGraph () | |
~DualGraph () | |
void | setAdjTable (int src, int dst) |
size_t | getSize (int d) const |
int | build (Mesh *m) |
const PNode & | getNode (int i) const |
const PEdge & | getEdge (int i) const |
void | saveAs (const string &s) |
void | clear () |
void | deleteAll () |
Static Public Member Functions | |
static PNode | getNewDualNode (Face *f) |
Private Member Functions | |
void | node_node_adjacency_rep () |
void | edge_rep () |
void | addEdge (const PNode n1, const PNode n2) |
void | getCentroid (int faceid, Point3D &p) |
void | writeNodes (const string &s) |
void | writeEdges (const string &s) |
Private Attributes | |
char | adjTable [4][4] |
Mesh * | mesh |
NodeSequence | nodes |
EdgeSequence | edges |
Definition at line 25 of file DualGraph.hpp.
DualGraph | ( | ) | [inline] |
Definition at line 30 of file DualGraph.hpp.
~DualGraph | ( | ) | [inline] |
Definition at line 35 of file DualGraph.hpp.
Definition at line 124 of file DualGraph.hpp.
Definition at line 7 of file DualGraph.cpp.
void clear | ( | ) | [inline] |
Definition at line 85 of file DualGraph.hpp.
void deleteAll | ( | ) | [inline] |
Definition at line 91 of file DualGraph.hpp.
void edge_rep | ( | ) | [private] |
Definition at line 92 of file DualGraph.cpp.
void getCentroid | ( | int | faceid, |
Point3D & | p | ||
) | [private] |
Definition at line 73 of file DualGraph.hpp.
PNode getNewDualNode | ( | Face * | f | ) | [inline, static] |
Definition at line 131 of file DualGraph.hpp.
Definition at line 68 of file DualGraph.hpp.
size_t getSize | ( | int | d | ) | const [inline] |
Definition at line 57 of file DualGraph.hpp.
void node_node_adjacency_rep | ( | ) | [private] |
Definition at line 71 of file DualGraph.cpp.
void saveAs | ( | const string & | s | ) | [inline] |
Definition at line 79 of file DualGraph.hpp.
void setAdjTable | ( | int | src, |
int | dst | ||
) | [inline] |
Definition at line 40 of file DualGraph.hpp.
void writeEdges | ( | const string & | s | ) | [private] |
Definition at line 142 of file DualGraph.cpp.
void writeNodes | ( | const string & | s | ) | [private] |
Definition at line 119 of file DualGraph.cpp.
char adjTable[4][4] [private] |
Definition at line 107 of file DualGraph.hpp.
EdgeSequence edges [private] |
Definition at line 115 of file DualGraph.hpp.
Definition at line 109 of file DualGraph.hpp.
NodeSequence nodes [private] |
Definition at line 114 of file DualGraph.hpp.