Changeset 39213
- Timestamp:
- Dec 3, 2015, 3:51:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20151113/Ohana/src/libdvo/src/coordops.c
r38553 r39213 990 990 991 991 OhanaProjection GetProjection (char *ctype) { 992 if (!str cmp(&ctype[4], "-ZEA")) return PROJ_ZEA;993 if (!str cmp(&ctype[4], "-ZPL")) return PROJ_ZPL;994 if (!str cmp(&ctype[4], "-ZPN")) return PROJ_ZPN;995 if (!str cmp(&ctype[4], "-ARC")) return PROJ_ARC;996 if (!str cmp(&ctype[4], "-STG")) return PROJ_STG;997 if (!str cmp(&ctype[4], "-SIN")) return PROJ_SIN;998 if (!str cmp(&ctype[0], "MM")) return PROJ_SIN; // note ctype[0]999 if (!str cmp(&ctype[4], "-TAN")) return PROJ_TAN;1000 if (!str cmp(&ctype[4], "-TNX")) return PROJ_TNX;1001 if (!str cmp(&ctype[4], "-DIS")) return PROJ_DIS;1002 if (!str cmp(&ctype[4], "-LIN")) return PROJ_LIN;1003 if (!str cmp(&ctype[0], "GENE")) return PROJ_LIN; // note ctype[0]1004 if (!str cmp(&ctype[4], "-PLY")) return PROJ_PLY;1005 if (!str cmp(&ctype[4], "-WRP")) return PROJ_WRP;1006 if (!str cmp(&ctype[4], "-AIT")) return PROJ_AIT;1007 if (!str cmp(&ctype[4], "-GLS")) return PROJ_GLS;1008 if (!str cmp(&ctype[4], "-PAR")) return PROJ_PAR;992 if (!strncmp(&ctype[4], "-ZEA", 4)) return PROJ_ZEA; 993 if (!strncmp(&ctype[4], "-ZPL", 4)) return PROJ_ZPL; 994 if (!strncmp(&ctype[4], "-ZPN", 4)) return PROJ_ZPN; 995 if (!strncmp(&ctype[4], "-ARC", 4)) return PROJ_ARC; 996 if (!strncmp(&ctype[4], "-STG", 4)) return PROJ_STG; 997 if (!strncmp(&ctype[4], "-SIN", 4)) return PROJ_SIN; 998 if (!strncmp(&ctype[0], "MM", 2)) return PROJ_SIN; // note ctype[0] 999 if (!strncmp(&ctype[4], "-TAN", 4)) return PROJ_TAN; 1000 if (!strncmp(&ctype[4], "-TNX", 4)) return PROJ_TNX; 1001 if (!strncmp(&ctype[4], "-DIS", 4)) return PROJ_DIS; 1002 if (!strncmp(&ctype[4], "-LIN", 4)) return PROJ_LIN; 1003 if (!strncmp(&ctype[0], "GENE", 4)) return PROJ_LIN; // note ctype[0] 1004 if (!strncmp(&ctype[4], "-PLY", 4)) return PROJ_PLY; 1005 if (!strncmp(&ctype[4], "-WRP", 4)) return PROJ_WRP; 1006 if (!strncmp(&ctype[4], "-AIT", 4)) return PROJ_AIT; 1007 if (!strncmp(&ctype[4], "-GLS", 4)) return PROJ_GLS; 1008 if (!strncmp(&ctype[4], "-PAR", 4)) return PROJ_PAR; 1009 1009 return PROJ_NONE; 1010 1010 }
Note:
See TracChangeset
for help on using the changeset viewer.
