index.c 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #include "map.h"
  2. static proj Yaitoff(double,double){return aitoff();}
  3. static proj Yalbers(double p0,double p1){return albers(p0,p1);}
  4. static proj Yazequalarea(double, double){return azequalarea();}
  5. static proj Yazequidistant(double, double){return azequidistant();}
  6. static proj Ybicentric(double p0,double){return bicentric(p0);}
  7. static proj Ybonne(double p0,double){return bonne(p0);}
  8. static proj Yconic(double p0,double){return conic(p0);}
  9. static proj Ycylequalarea(double p0,double){return cylequalarea(p0);}
  10. static proj Ycylindrical(double, double){return cylindrical();}
  11. static proj Yelliptic(double p0,double){return elliptic(p0);}
  12. static proj Yfisheye(double p0,double){return fisheye(p0);}
  13. static proj Ygall(double p0,double){return gall(p0);}
  14. static proj Ygilbert(double, double){return gilbert();}
  15. static proj Yglobular(double, double){return globular();}
  16. static proj Ygnomonic(double, double){return gnomonic();}
  17. static proj Yguyou(double, double){return guyou();}
  18. static proj Yharrison(double p0,double p1){return harrison(p0,p1);}
  19. static proj Yhex(double, double){return hex();}
  20. static proj Yhoming(double p0,double){return homing(p0);}
  21. static proj Ylagrange(double, double){return lagrange();}
  22. static proj Ylambert(double p0,double p1){return lambert(p0,p1);}
  23. static proj Ylaue(double, double){return laue();}
  24. static proj Ylune(double p0,double p1){return lune(p0,p1);}
  25. static proj Ymecca(double p0, double){return mecca(p0);}
  26. static proj Ymercator(double, double){return mercator();}
  27. static proj Ymollweide(double, double){return mollweide();}
  28. static proj Ynewyorker(double p0,double){return newyorker(p0);}
  29. static proj Yorthographic(double, double){return orthographic();}
  30. static proj Yperspective(double p0,double){return perspective(p0);}
  31. static proj Ypolyconic(double, double){return polyconic();}
  32. static proj Yrectangular(double p0,double){return rectangular(p0);}
  33. static proj Ysimpleconic(double p0,double p1){return simpleconic(p0,p1);}
  34. static proj Ysinusoidal(double, double){return sinusoidal();}
  35. static proj Ysp_albers(double p0,double p1){return sp_albers(p0,p1);}
  36. static proj Ysp_mercator(double, double){return sp_mercator();}
  37. static proj Ysquare(double, double){return square();}
  38. static proj Ystereographic(double, double){return stereographic();}
  39. static proj Ytetra(double, double){return tetra();}
  40. static proj Ytrapezoidal(double p0,double p1){return trapezoidal(p0,p1);}
  41. static proj Yvandergrinten(double,double){return vandergrinten();}
  42. struct index index[] = {
  43. {"aitoff", Yaitoff, 0, picut, 0, 0, 0},
  44. {"albers", Yalbers, 2, picut, 3, 0, 0},
  45. {"azequalarea", Yazequalarea, 0, nocut, 1, 0, 0},
  46. {"azequidistant", Yazequidistant, 0, nocut, 1, 0, 0},
  47. {"bicentric", Ybicentric, 1, nocut, 0, 0, 0},
  48. {"bonne", Ybonne, 1, picut, 0, 0, 0},
  49. {"conic", Yconic, 1, picut, 0, 0, 0},
  50. {"cylequalarea", Ycylequalarea, 1, picut, 3, 0, 0},
  51. {"cylindrical", Ycylindrical, 0, picut, 0, 0, 0},
  52. {"elliptic", Yelliptic, 1, picut, 0, 0, 0},
  53. {"fisheye", Yfisheye, 1, nocut, 0, 0, 0},
  54. {"gall", Ygall, 1, picut, 3, 0, 0},
  55. {"gilbert", Ygilbert, 0, picut, 0, 0, 0},
  56. {"globular", Yglobular, 0, picut, 0, 0, 0},
  57. {"gnomonic", Ygnomonic, 0, nocut, 0, 0, plimb},
  58. {"guyou", Yguyou, 0, guycut, 0, 0, 0},
  59. {"harrison", Yharrison, 2, nocut, 0, 0, plimb},
  60. {"hex", Yhex, 0, hexcut, 0, 0, 0},
  61. {"homing", Yhoming, 1, nocut, 3, 0, hlimb},
  62. {"lagrange", Ylagrange,0,picut,0, 0, 0},
  63. {"lambert", Ylambert, 2, picut, 0, 0, 0},
  64. {"laue", Ylaue, 0, nocut, 0, 0, 0},
  65. {"lune", Ylune, 2, nocut, 0, 0, 0},
  66. {"mecca", Ymecca, 1, picut, 3, 0, mlimb},
  67. {"mercator", Ymercator, 0, picut, 3, 0, 0},
  68. {"mollweide", Ymollweide, 0, picut, 0, 0, 0},
  69. {"newyorker", Ynewyorker, 1, nocut, 0, 0, 0},
  70. {"orthographic", Yorthographic, 0, nocut, 0, 0, olimb},
  71. {"perspective", Yperspective, 1, nocut, 0, 0, plimb},
  72. {"polyconic", Ypolyconic, 0, picut, 0, 0, 0},
  73. {"rectangular", Yrectangular, 1, picut, 3, 0, 0},
  74. {"simpleconic", Ysimpleconic, 2, picut, 3, 0, 0},
  75. {"sinusoidal", Ysinusoidal, 0, picut, 0, 0, 0},
  76. {"sp_albers", Ysp_albers, 2, picut, 3, 1, 0},
  77. {"sp_mercator", Ysp_mercator, 0, picut, 0, 1, 0},
  78. {"square", Ysquare, 0, picut, 0, 0, 0},
  79. {"stereographic", Ystereographic, 0, nocut, 0, 0, 0},
  80. {"tetra", Ytetra, 0, tetracut, 0, 0, 0},
  81. {"trapezoidal", Ytrapezoidal, 2, picut, 3, 0, 0},
  82. {"vandergrinten", Yvandergrinten, 0, picut, 0, 0, 0},
  83. 0
  84. };