Changeset 2955 for issm/trunk/src/c/Bamgx/Mesh2.h
- Timestamp:
- 02/04/10 07:25:05 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Bamgx/Mesh2.h
r2945 r2955 16 16 #include <limits.h> 17 17 #include <time.h> 18 19 #if (defined(unix) || defined(__unix)) && !defined(__AIX)20 #define SYSTIMES21 #include <sys/times.h>22 #include <unistd.h>23 #endif24 18 25 19 #include "meshtype.h" … … 124 118 Vertex * to;// use in geometry Vertex to now the Mesh Vertex associed 125 119 VertexOnGeom * onGeometry; // if vint 8; // set with Triangles::SetVertexFieldOn() 126 Vertex * on bv; // if vint == 16 on Background vertex Triangles::SetVertexFieldOnBTh()127 VertexOnEdge * on be; // if vint == 32 on Background edge120 Vertex * onBackgroundVertex; // if vint == 16 on Background vertex Triangles::SetVertexFieldOnBTh() 121 VertexOnEdge * onBackgroundEdge; // if vint == 32 on Background edge 128 122 }; 129 123 Int1 vint; // the vertex number in triangle; varies between 0 and 2 in t … … 245 239 class GeometricalEdge { 246 240 public: 247 GeometricalVertex 241 GeometricalVertex* v[2]; 248 242 Int4 ref; 249 Int4 250 R2 tg[2]; // the 2 tangente251 // if tg[0] =0 => no continuit e252 GeometricalEdge * Adj[2];243 Int4 CurveNumber; 244 R2 tg[2]; // the 2 tangentes 245 // if tg[0] =0 => no continuity 246 GeometricalEdge* Adj[2]; 253 247 int DirAdj[2]; 254 // private:255 248 int flag ; 256 public:257 249 GeometricalEdge* link; // if Cracked() or Equi() 258 259 250 // end of data 260 251 … … 578 569 VertexOnVertex() {}; 579 570 inline void Set(const Triangles &,Int4,Triangles &); 580 void SetOnBTh(){v->on bv=bv;v->vint=IsVertexOnVertex;}571 void SetOnBTh(){v->onBackgroundVertex=bv;v->vint=IsVertexOnVertex;} 581 572 }; 582 573 /*}}}1*/ … … 590 581 VertexOnEdge(){} 591 582 inline void Set(const Triangles &,Int4,Triangles &); 592 void SetOnBTh(){v->on be=this;v->vint=IsVertexOnEdge;}583 void SetOnBTh(){v->onBackgroundEdge=this;v->vint=IsVertexOnEdge;} 593 584 Vertex & operator[](int i) const { return (*be)[i];} 594 585 operator Real8 () const { return abcisse;}
Note:
See TracChangeset
for help on using the changeset viewer.