Changeset 3407 for issm/trunk/src/c/Bamgx/objects/Edge.h
- Timestamp:
- 04/06/10 11:19:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Bamgx/objects/Edge.h
r3391 r3407 9 9 #include "../include/typedefs.h" 10 10 #include "../include/macros.h" 11 #include " BamgVertex.h"11 #include "MeshVertex.h" 12 12 #include "TriangleAdjacent.h" 13 13 … … 21 21 22 22 public: 23 Vertex* v[2];23 MeshVertex* v[2]; 24 24 long ref; 25 25 GeometricalEdge* onGeometry; … … 27 27 28 28 //Operators 29 Vertex & operator[](int i){return *v[i];};30 Vertex * operator()(int i){return v[i];};29 MeshVertex & operator[](int i){return *v[i];}; 30 MeshVertex * operator()(int i){return v[i];}; 31 31 R2 operator()(double t) const; // return the point 32 const Vertex & operator[](int i) const { return *v[i];};32 const MeshVertex & operator[](int i) const { return *v[i];}; 33 33 34 34 //Methods 35 void ReNumbering( Vertex *vb,Vertex *ve, long *renu){35 void ReNumbering(MeshVertex *vb,MeshVertex *ve, long *renu){ 36 36 if (v[0] >=vb && v[0] <ve) v[0] = vb + renu[v[0]-vb]; 37 37 if (v[1] >=vb && v[1] <ve) v[1] = vb + renu[v[1]-vb];
Note:
See TracChangeset
for help on using the changeset viewer.