ESyS-Particle  2.3
MeshData.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __MESHDATA_H
14 #define __MESHDATA_H
15 
16 #include "Foundation/vec3.h"
17 
18 #include <iostream>
19 
24 {
25  MeshNodeData();
26 
27  MeshNodeData(int id, const Vec3 &pt, int tag=0);
28 
29  int id;
30  int tag;
31  double x,y,z;
32 
33  void read(std::istream&);
34 };
35 
40 {
41  MeshTriData();
42 
43  MeshTriData(int id, int nodeId0, int nodeId1, int nodeId2, int tag=0);
44 
45  int id,tag;
46  int p1,p2,p3;
47 
48  void read(std::istream&);
49 };
50 
51 
52 #endif // __MESHDATA_H
Definition: vec3.h:46
int id
Definition: MeshData.h:29
Definition: MeshData.h:23
double y
Definition: MeshData.h:31
int tag
Definition: MeshData.h:45
double z
Definition: MeshData.h:31
int tag
Definition: MeshData.h:30
int p1
Definition: MeshData.h:46
int id
Definition: MeshData.h:45
double x
Definition: MeshData.h:31
MeshTriData()
Definition: MeshData.cpp:73
void read(std::istream &)
Definition: MeshData.cpp:35
void read(std::istream &)
Definition: MeshData.cpp:88
int p3
Definition: MeshData.h:46
MeshNodeData()
Definition: MeshData.cpp:20
int p2
Definition: MeshData.h:46
Definition: MeshData.h:39