Mesh Class Reference

Definition of class Mesh. More...

#include <Mesh.h>

Inheritance diagram for Mesh:

Polygon TriMesh

Public Member Functions

 Mesh (int n)
 n elements constructor
 Mesh (const Mesh &mesh)
 copy constructor
virtual ~Mesh ()
 destructor
int length () const
 number of elements accessor
int elements_n_vertices () const
 number of vertices accessor
PolygonArray * elements () const
 elements accessor
virtual insert (Polygon *p)
 insert operator
virtual void transform (const AffineTransform &t)
 transform operator
virtual void homoxform (const PerspectiveTransform &t)
 projective space transformation

Detailed Description

Definition of class Mesh.

A mesh is a collection of any Polygon derived class.

NOTE: returning the number of vertices of each element should be enough for identification ? (square ?)


The documentation for this class was generated from the following files:
Generated on Thu Jul 5 00:16:33 2007 for S3D by  doxygen 1.4.6