Structures

The following structures are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    struct projFileAPI_t {
        PAFile  (*FOpen)(projCtx ctx, const char *filename, const char *access);
        size_t  (*FRead)(void *buffer, size_t size, size_t nmemb, PAFile file);
        int     (*FSeek)(PAFile file, long offset, int whence);
        long    (*FTell)(PAFile file);
        void    (*FClose)(PAFile);
    }

    Swift

    struct projFileAPI_t
  • Undocumented

    See more

    Declaration

    Objective-C

    struct PJconsts

    Swift

    struct PJconsts
  • Undocumented

    See more

    Declaration

    Objective-C

    struct PJ_LIST {
        char             *id;                         /* projection keyword */
        struct PJconsts  *(*proj)(struct PJconsts*);  /* projection entry point */
        char * const     *descr;                      /* description text */
    }

    Swift

    struct PJ_LIST
  • Undocumented

    See more

    Declaration

    Objective-C

    struct PJ_SELFTEST_LIST {
        char    *id;                    /* projection keyword */
        int     (* testfunc)(void);     /* projection entry point */
    }

    Swift

    struct PJ_SELFTEST_LIST
  • Undocumented

    See more

    Declaration

    Objective-C

    struct PJ_ELLPS {
        char    *id;        /* ellipse keyword name */
        char    *major;     /* a= value */
        char    *ell;       /* elliptical parameter */
        char    *name;      /* comments */
    }

    Swift

    struct PJ_ELLPS
  • Undocumented

    See more

    Declaration

    Objective-C

    struct PJ_UNITS {
        char    *id;        /* units keyword */
        char    *to_meter;  /* multiply by value to get meters */
        char    *name;      /* comments */
    }

    Swift

    struct PJ_UNITS
  • Undocumented

    See more

    Declaration

    Objective-C

    struct PJ_DATUMS {
        char    *id;        /* datum keyword */
        char    *defn;      /* ie. "to_wgs84=..." */
        char    *ellipse_id;/* ie from ellipse table */
        char    *comments;  /* EPSG code, etc */
    }

    Swift

    struct PJ_DATUMS
  • Undocumented

    See more

    Declaration

    Objective-C

    struct PJ_PRIME_MERIDIANS {
        char    *id;        /* prime meridian keyword */
        char    *defn;      /* offset from greenwich in DMS format. */
    }

    Swift

    struct PJ_PRIME_MERIDIANS
  • Undocumented

    See more

    Declaration

    Objective-C

    struct DERIVS {
        double x_l, x_p;    /* derivatives of x for lambda-phi */
        double y_l, y_p;    /* derivatives of y for lambda-phi */
    }

    Swift

    struct DERIVS
  • Undocumented

    See more

    Declaration

    Objective-C

    struct FACTORS {
        struct DERIVS der;
        double h, k;        /* meridinal, parallel scales */
        double omega, thetap;   /* angular distortion, theta prime */
        double conv;        /* convergence */
        double s;           /* areal scale factor */
        double a, b;        /* max-min scale error */
        int code;           /* info as to analytics, see following */
    }

    Swift

    struct FACTORS
  • Undocumented

    See more

    Declaration

    Objective-C

    struct ARG_list {
        struct ARG_list *next;
        char used;
        char param[1]; }

    Swift

    struct ARG_list
  • Undocumented

    See more

    Declaration

    Objective-C

    struct CTABLE {
        char id[MAX_TAB_ID];    /* ascii info */
        LP ll;                  /* lower left corner coordinates */
        LP del;                 /* size of cells */
        ILP lim;                /* limits of conversion matrix */
        FLP *cvs;               /* conversion matrix */
    }

    Swift

    struct CTABLE
  • Undocumented

    See more

    Declaration

    Objective-C

    struct _pj_gi {
        char *gridname;     /* identifying name of grid, eg "conus" or ntv2_0.gsb */
        char *filename;     /* full path to filename */
    
        const char *format; /* format of this grid, ie "ctable", "ntv1",
                               "ntv2" or "missing". */
    
        int   grid_offset;  /* offset in file, for delayed loading */
        int   must_swap;    /* only for NTv2 */
    
        struct CTABLE *ct;
    
        struct _pj_gi *next;
        struct _pj_gi *child;
    }

    Swift

    struct _pj_gi
  • Undocumented

    See more

    Declaration

    Objective-C

    struct _PJ_GridCatalog {
        char *catalog_name;
    
        PJ_Region region;   /* maximum extent of catalog data */
    
        int entry_count;
        PJ_GridCatalogEntry *entries;
    
        struct _PJ_GridCatalog *next;
    }

    Swift

    struct _PJ_GridCatalog
  • Undocumented

    See more

    Declaration

    Objective-C

    struct PW_COEF {    /* row coefficient structure */
        int m;          /* number of c coefficients (=0 for none) */
        double *c;      /* power coefficients */
    }

    Swift

    struct PW_COEF