- Timestamp:
- 11/16/12 08:10:16 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 13397-13398,13401,13407-13582,13584-13974
- Property svn:mergeinfo changed
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/c/modules/ContourToNodesx/ContourToNodesx.cpp
r13395 r13975 7 7 8 8 int i; 9 int m,n;10 9 11 10 /*Contour:*/ … … 14 13 double* xc=NULL; 15 14 double* yc=NULL; 16 double value;17 15 18 16 /*output: */ … … 34 32 /*Assign output pointers: */ 35 33 *pflags=flags; 36 37 34 return 1; 38 35 } … … 40 37 int ContourToNodesx(SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, DataSet* contours, int edgevalue){ 41 38 42 int i;43 int m,n;44 45 39 /*Contour:*/ 46 40 Contour<IssmPDouble>* contouri=NULL; 47 int numnodes;48 41 double* xc=NULL; 49 42 double* yc=NULL; 50 double value;51 43 52 44 /*output: */ … … 56 48 /*Loop through all contours: */ 57 49 if(contours){ 58 for (i=0;i<contours->Size();i++){50 for(int i=0;i<contours->Size();i++){ 59 51 Contour<IssmPDouble>* contour=(Contour<IssmPDouble>*)contours->GetObjectByOffset(i); 60 52 IsInPoly(flags,contour->x,contour->y,contour->nods,x,y,0,nods,edgevalue);
Note:
See TracChangeset
for help on using the changeset viewer.