/usr/include/wcslib-5.15/prj.inc is in wcslib-dev 5.15-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | *=======================================================================
*
* WCSLIB 5.15 - an implementation of the FITS WCS standard.
* Copyright (C) 1995-2016, Mark Calabretta
*
* This file is part of WCSLIB.
*
* WCSLIB is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* WCSLIB is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with WCSLIB. If not, see http://www.gnu.org/licenses.
*
* Direct correspondence concerning WCSLIB to mark@calabretta.id.au
*
* Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
* http://www.atnf.csiro.au/people/Mark.Calabretta
* $Id: prj.inc,v 5.15 2016/04/05 12:55:12 mcalabre Exp $
*=======================================================================
* Functions.
EXTERNAL PRJPUT, PRJPTC, PRJPTD, PRJPTI,
: PRJGET, PRJGTC, PRJGTD, PRJGTI,
: PRJINI, PRJFREE, PRJPRT, PRJPERR, PRJBCHK,
: PRJSET, PRJX2S, PRJS2X
INTEGER PRJPUT, PRJPTC, PRJPTD, PRJPTI,
: PRJGET, PRJGTC, PRJGTD, PRJGTI,
: PRJINI, PRJFREE, PRJPRT, PRJPERR, PRJBCHK,
: PRJSET, PRJX2S, PRJS2X
EXTERNAL AZPSET, AZPX2S, AZPS2X, PARSET, PARX2S, PARS2X,
: SZPSET, SZPX2S, SZPS2X, MOLSET, MOLX2S, MOLS2X,
: TANSET, TANX2S, TANS2X, AITSET, AITX2S, AITS2X,
: STGSET, STGX2S, STGS2X, COPSET, COPX2S, COPS2X,
: SINSET, SINX2S, SINS2X, COESET, COEX2S, COES2X,
: ARCSET, ARCX2S, ARCS2X, CODSET, CODX2S, CODS2X,
: ZPNSET, ZPNX2S, ZPNS2X, COOSET, COOX2S, COOS2X,
: ZEASET, ZEAX2S, ZEAS2X, BONSET, BONX2S, BONS2X,
: AIRSET, AIRX2S, AIRS2X, PCOSET, PCOX2S, PCOS2X,
: CYPSET, CYPX2S, CYPS2X, TSCSET, TSCX2S, TSCS2X,
: CEASET, CEAX2S, CEAS2X, CSCSET, CSCX2S, CSCS2X,
: CARSET, CARX2S, CARS2X, QSCSET, QSCX2S, QSCS2X,
: MERSET, MERX2S, MERS2X, HPXSET, HPXX2S, HPXS2X,
: SFLSET, SFLX2S, SFLS2X, XPHSET, XPHX2S, XPHS2X
INTEGER AZPSET, AZPX2S, AZPS2X, PARSET, PARX2S, PARS2X,
: SZPSET, SZPX2S, SZPS2X, MOLSET, MOLX2S, MOLS2X,
: TANSET, TANX2S, TANS2X, AITSET, AITX2S, AITS2X,
: STGSET, STGX2S, STGS2X, COPSET, COPX2S, COPS2X,
: SINSET, SINX2S, SINS2X, COESET, COEX2S, COES2X,
: ARCSET, ARCX2S, ARCS2X, CODSET, CODX2S, CODS2X,
: ZPNSET, ZPNX2S, ZPNS2X, COOSET, COOX2S, COOS2X,
: ZEASET, ZEAX2S, ZEAS2X, BONSET, BONX2S, BONS2X,
: AIRSET, AIRX2S, AIRS2X, PCOSET, PCOX2S, PCOS2X,
: CYPSET, CYPX2S, CYPS2X, TSCSET, TSCX2S, TSCS2X,
: CEASET, CEAX2S, CEAS2X, CSCSET, CSCX2S, CSCS2X,
: CARSET, CARX2S, CARS2X, QSCSET, QSCX2S, QSCS2X,
: MERSET, MERX2S, MERS2X, HPXSET, HPXX2S, HPXS2X,
: SFLSET, SFLX2S, SFLS2X, XPHSET, XPHX2S, XPHS2X
* Length of the PRJPRM data structure (INTEGER array) on 64-bit
* machines. Only needs to be 116 on 32-bit machines.
INTEGER PRJLEN
PARAMETER (PRJLEN = 120)
* Number of projection parameters supported by WCSLIB, 0 to PVN-1.
INTEGER PRJ_PVN
PARAMETER (PRJ_PVN = 30)
* Codes for PRJ data structure elements used by PRJPUT and PRJGET.
INTEGER PRJ_FLAG, PRJ_CODE, PRJ_R0, PRJ_PV, PRJ_PHI0,
: PRJ_THETA0, PRJ_BOUNDS
PARAMETER (PRJ_FLAG = 100)
PARAMETER (PRJ_CODE = 101)
PARAMETER (PRJ_R0 = 102)
PARAMETER (PRJ_PV = 103)
PARAMETER (PRJ_PHI0 = 104)
PARAMETER (PRJ_THETA0 = 105)
PARAMETER (PRJ_BOUNDS = 106)
* Codes for PRJ data structure elements used by PRJGET (only).
INTEGER PRJ_NAME, PRJ_CATEGORY, PRJ_PVRANGE, PRJ_SIMPLEZEN,
: PRJ_EQUIAREAL, PRJ_CONFORMAL, PRJ_GLOBAL, PRJ_DIVERGENT,
: PRJ_X0, PRJ_Y0, PRJ_ERR, PRJ_W, PRJ_N
PARAMETER (PRJ_NAME = 200)
PARAMETER (PRJ_CATEGORY = 201)
PARAMETER (PRJ_PVRANGE = 202)
PARAMETER (PRJ_SIMPLEZEN = 203)
PARAMETER (PRJ_EQUIAREAL = 204)
PARAMETER (PRJ_CONFORMAL = 205)
PARAMETER (PRJ_GLOBAL = 206)
PARAMETER (PRJ_DIVERGENT = 207)
PARAMETER (PRJ_X0 = 208)
PARAMETER (PRJ_Y0 = 209)
PARAMETER (PRJ_ERR = 210)
PARAMETER (PRJ_W = 211)
PARAMETER (PRJ_N = 212)
* Projection categories.
INTEGER PRJ_ZENITHAL, PRJ_CYLINDRICAL, PRJ_PSEUDOCYLINDRICAL,
: PRJ_CONVENTIONAL, PRJ_CONIC, PRJ_POLYCONIC,
: PRJ_QUADCUBE, PRJ_HEALPIX
PARAMETER (PRJ_ZENITHAL = 1)
PARAMETER (PRJ_CYLINDRICAL = 2)
PARAMETER (PRJ_PSEUDOCYLINDRICAL = 3)
PARAMETER (PRJ_CONVENTIONAL = 4)
PARAMETER (PRJ_CONIC = 5)
PARAMETER (PRJ_POLYCONIC = 6)
PARAMETER (PRJ_QUADCUBE = 7)
PARAMETER (PRJ_HEALPIX = 8)
* Error codes and messages.
INTEGER PRJERR_SUCCESS, PRJERR_NULL_POINTER, PRJERR_BAD_PARAM,
: PRJERR_BAD_PIX, PRJERR_BAD_WORLD
PARAMETER (PRJERR_SUCCESS = 0)
PARAMETER (PRJERR_NULL_POINTER = 1)
PARAMETER (PRJERR_BAD_PARAM = 2)
PARAMETER (PRJERR_BAD_PIX = 3)
PARAMETER (PRJERR_BAD_WORLD = 4)
CHARACTER PRJ_ERRMSG(0:4)*80
COMMON /PRJ_DATA/ PRJ_ERRMSG
|