~ubuntu-branches/debian/squeeze/gmsh/squeeze

« back to all changes in this revision

Viewing changes to Common/VertexArray.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme
  • Date: 2009-09-27 17:36:40 UTC
  • mfrom: (1.2.9 upstream) (8.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090927173640-oxyhzt0eadjfrlwz
[Christophe Prud'homme]
* New upstream release
  + solver code refactoring
  + better IDE integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#include <vector>
10
10
#include <set>
11
11
#include "SVector3.h"
 
12
#include "SBoundingBox3d.h"
12
13
 
13
14
class MElement;
14
15
 
161
162
  void sort(double x, double y, double z);
162
163
  // estimate the size of the vertex array in megabytes
163
164
  int getMemoryUsage();
 
165
  // serialize the vertex array into a string (for sending over the
 
166
  // network)
 
167
  char *toChar(int num, int type, double min, double max, double time,
 
168
               SBoundingBox3d bbox, int &len);
 
169
  void fromChar(const char *bytes);
164
170
};
165
171
 
166
172
#endif