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