IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 9, 2008, 12:15:16 PM (18 years ago)
Author:
eugene
Message:

updates to fix compile errors caught by Wall, Werror

Location:
trunk/Ohana/src/libdvo
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/Makefile

    r17190 r17419  
    3030$(DESTINC)/panstarrs_dev_1_defs.h \
    3131$(DESTINC)/ps1_dev_1_defs.h \
    32 $(DESTINC)/ps1_dev_2_defs.h
     32$(DESTINC)/ps1_dev_2_defs.h \
     33$(DESTINC)/ps1_dev_3_defs.h
    3334
    3435INCS = $(DEFS) $(DESTINC)/dvo.h $(DESTINC)/autocode.h
  • trunk/Ohana/src/libdvo/include/dvo.h

    r17245 r17419  
    3434  PROJ_SIN, // zenithal
    3535  PROJ_TAN, // zenithal
     36  PROJ_TNX, // zenithal
    3637  PROJ_DIS, // zenithal (TAN + polyterms)
    3738  PROJ_LIN, // cartesian
     
    404405# include "ps1_dev_1_defs.h"
    405406# include "ps1_dev_2_defs.h"
     407# include "ps1_dev_3_defs.h"
    406408
    407409/*** DVO image db I/O Functions ***/
  • trunk/Ohana/src/libdvo/src/coordops.c

    r16980 r17419  
    8282    switch (proj) {
    8383      case PROJ_TAN:
     84      case PROJ_TNX:
    8485      case PROJ_DIS:
    8586        // R = cot (theta) = cos(theta) / sin(theta)
     
    225226    switch (proj) {
    226227      case PROJ_TAN:
     228      case PROJ_TNX:
    227229      case PROJ_DIS:
    228230        // R = cot (theta) = cos(theta) / sin(theta)
     
    697699  if (!strcmp(&ctype[0], "MM"))   return PROJ_SIN; // note ctype[0]
    698700  if (!strcmp(&ctype[4], "-TAN")) return PROJ_TAN;
     701  if (!strcmp(&ctype[4], "-TNX")) return PROJ_TNX;
    699702  if (!strcmp(&ctype[4], "-DIS")) return PROJ_DIS;
    700703  if (!strcmp(&ctype[4], "-LIN")) return PROJ_LIN;
     
    716719    case PROJ_SIN: strcpy(&ctype[4], "-SIN"); return TRUE;
    717720    case PROJ_TAN: strcpy(&ctype[4], "-TAN"); return TRUE;
     721    case PROJ_TNX: strcpy(&ctype[4], "-TNX"); return TRUE;
    718722    case PROJ_DIS: strcpy(&ctype[4], "-DIS"); return TRUE;
    719723    case PROJ_LIN: strcpy(&ctype[4], "-LIN"); return TRUE;
     
    736740    case PROJ_SIN:
    737741    case PROJ_TAN:
     742    case PROJ_TNX:
    738743    case PROJ_DIS:
    739744      return PROJ_MODE_ZENITHAL;
  • trunk/Ohana/src/libdvo/src/dvo_catalog_split.c

    r17245 r17419  
    849849int dvo_catalog_update_split (Catalog *catalog, char VERBOSE) {
    850850
    851   int Nitems;
    852851  Header header;
    853852  FTable ftable;
Note: See TracChangeset for help on using the changeset viewer.