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