- Timestamp:
- 05/26/14 21:40:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/bamg/ListofIntersectionTriangles.cpp
r17507 r18064 11 11 12 12 /*Constructors Destructors*/ 13 /*FUNCTION ListofIntersectionTriangles::ListofIntersectionTriangles{{{*/ 14 ListofIntersectionTriangles::ListofIntersectionTriangles(int n,int m) 13 ListofIntersectionTriangles::ListofIntersectionTriangles(int n,int m)/*{{{*/ 15 14 : MaxSize(n), Size(0), len(-1),state(-1),lIntTria(new IntersectionTriangles[n]) , 16 15 NbSeg(0), MaxNbSeg(m), lSegsI(new SegInterpolation[m]){ 17 16 } 18 17 /*}}}*/ 19 /*FUNCTION ListofIntersectionTriangles::~ListofIntersectionTriangles{{{*/ 20 ListofIntersectionTriangles::~ListofIntersectionTriangles(){ 18 ListofIntersectionTriangles::~ListofIntersectionTriangles(){/*{{{*/ 21 19 if (lIntTria) delete [] lIntTria,lIntTria=0; 22 20 if (lSegsI) delete [] lSegsI,lSegsI=0; … … 25 23 26 24 /*Methods*/ 27 /*FUNCTION ListofIntersectionTriangles::Init{{{*/ 28 void ListofIntersectionTriangles::Init(void){ 25 void ListofIntersectionTriangles::Init(void){/*{{{*/ 29 26 state=0; 30 27 len=0; … … 32 29 } 33 30 /*}}}*/ 34 /*FUNCTION ListofIntersectionTriangles::Length{{{*/ 35 double ListofIntersectionTriangles::Length(){ 31 double ListofIntersectionTriangles::Length(){/*{{{*/ 36 32 /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Mesh2.cpp/Length)*/ 37 33 … … 79 75 } 80 76 /*}}}*/ 81 /*FUNCTION ListofIntersectionTriangles::NewItem(Triangle * tt,double d0,double d1,double d2) {{{*/ 82 int ListofIntersectionTriangles::NewItem(Triangle * tt,double d0,double d1,double d2) { 77 int ListofIntersectionTriangles::NewItem(Triangle * tt,double d0,double d1,double d2) { /*{{{*/ 83 78 /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Mesh2.cpp/NewItem)*/ 84 79 … … 107 102 } 108 103 /*}}}*/ 109 /*FUNCTION ListofIntersectionTriangles::NewItem(R2 A,const Metric & mm){{{*/ 110 int ListofIntersectionTriangles::NewItem(R2 A,const Metric & mm) { 104 int ListofIntersectionTriangles::NewItem(R2 A,const Metric & mm) {/*{{{*/ 111 105 /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Mesh2.cpp/NewItem)*/ 112 106 … … 123 117 } 124 118 /*}}}*/ 125 /*FUNCTION ListofIntersectionTriangles::NewPoints{{{*/ 126 long ListofIntersectionTriangles::NewPoints(BamgVertex* vertices,long &nbv,long maxnbv){ 119 long ListofIntersectionTriangles::NewPoints(BamgVertex* vertices,long &nbv,long maxnbv){/*{{{*/ 127 120 /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Mesh2.cpp/NewPoints)*/ 128 121 … … 180 173 } 181 174 /*}}}*/ 182 /*FUNCTION ListofIntersectionTriangles::ReShape{{{*/ 183 void ListofIntersectionTriangles::ReShape(){ 175 void ListofIntersectionTriangles::ReShape(){ /*{{{*/ 184 176 185 177 int newsize = MaxSize*2; … … 196 188 } 197 189 /*}}}*/ 198 /*FUNCTION ListofIntersectionTriangles::SplitEdge{{{*/ 199 void ListofIntersectionTriangles::SplitEdge(const Mesh & Bh, const R2 &A,const R2 &B,int nbegin) { 190 void ListofIntersectionTriangles::SplitEdge(const Mesh & Bh, const R2 &A,const R2 &B,int nbegin) {/*{{{*/ 200 191 /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Mesh2.cpp/ListofIntersectionTriangles)*/ 201 192
Note:
See TracChangeset
for help on using the changeset viewer.