Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

Building the Base Mesh

The mesh constructor takes as a parameter an object of the class Surface.

Mesh m(surf);

The surface object encapsulates the global geometric and topological information used by the mesh library, including the definition of the base domain and sampling the surface.

class Surface { public: virtual void base_mesh(int *np, int **fcs, int *nf) = 0; virtual void sample(int i, Vertex* v) = 0; virtual void sample(Edge* e, Vertex* v) = 0; virtual void sample(Face* f, Vertex* v) = 0; virtual float elenght(Edge* e) = 0; virtual float ref_rank(Edge* e) = 0; virtual float simpl_rank(Vertex* v) = 0; virtual Vertex* new_vertex(void) = 0; virtual void del_vertex(Vertex *v) = 0; };

Generated on Mon Oct 11 19:32:26 2004 for A48 by doxygen 1.3.7