Changeset 16149 for issm/trunk-jpl/src/c/modules/Shp2Expx/Shp2Expx.cpp
- Timestamp:
- 09/17/13 13:51:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/Shp2Expx/Shp2Expx.cpp
r15164 r16149 12 12 #ifdef _HAVE_SHAPELIB_ //only works if Shapelib library has been compiled in. 13 13 14 return(Shp2Expx(filshp,filexp, 15 0)); 14 return(Shp2Expx(filshp,filexp,0)); 16 15 17 16 #else //ifdef _HAVE_SHAPELIB_ … … 20 19 } 21 20 22 int Shp2Expx(char* filshp,char* filexp, 23 int sgn){ 21 int Shp2Expx(char* filshp,char* filexp,int sgn){ 24 22 25 23 #ifdef _HAVE_SHAPELIB_ //only works if Shapelib library has been compiled in. 26 24 27 25 double cm,sp; 28 29 if (sgn) 30 Xy2lldef(&cm,&sp,sgn); 31 32 return(Shp2Expx(filshp,filexp, 33 sgn,cm,sp)); 26 Xy2lldef(&cm,&sp,sgn); 27 28 return(Shp2Expx(filshp,filexp,sgn,cm,sp)); 34 29 35 30 #else //ifdef _HAVE_SHAPELIB_ … … 38 33 } 39 34 40 int Shp2Expx(char* filshp,char* filexp, 41 int sgn,double cm,double sp){ 35 int Shp2Expx(char* filshp,char* filexp,int sgn,double cm,double sp){ 42 36 43 37 #ifdef _HAVE_SHAPELIB_ //only works if Shapelib library has been compiled in.
Note:
See TracChangeset
for help on using the changeset viewer.