MeshKit  1.0
DualGraph Class Reference

#include <DualGraph.hpp>

List of all members.

Public Member Functions

 DualGraph ()
 ~DualGraph ()
void setAdjTable (int src, int dst)
size_t getSize (int d) const
int build (Mesh *m)
const PNodegetNode (int i) const
const PEdgegetEdge (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]
Meshmesh
NodeSequence nodes
EdgeSequence edges

Detailed Description

Definition at line 25 of file DualGraph.hpp.


Constructor & Destructor Documentation

DualGraph ( ) [inline]

Definition at line 30 of file DualGraph.hpp.

~DualGraph ( ) [inline]

Definition at line 35 of file DualGraph.hpp.


Member Function Documentation

void addEdge ( const PNode  n1,
const PNode  n2 
) [inline, private]

Definition at line 124 of file DualGraph.hpp.

int build ( Mesh m)

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]
const PEdge& getEdge ( int  i) const [inline]

Definition at line 73 of file DualGraph.hpp.

PNode getNewDualNode ( Face f) [inline, static]

Definition at line 131 of file DualGraph.hpp.

const PNode& getNode ( int  i) const [inline]

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.


Member Data Documentation

char adjTable[4][4] [private]

Definition at line 107 of file DualGraph.hpp.

EdgeSequence edges [private]

Definition at line 115 of file DualGraph.hpp.

Mesh* mesh [private]

Definition at line 109 of file DualGraph.hpp.

NodeSequence nodes [private]

Definition at line 114 of file DualGraph.hpp.


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