From 28994509cc11ac6a5443054dfae1fedfb69039bc Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 21 Apr 2004 22:19:33 +0000 Subject: Why not? --- src/cmd/map/libmap/laue.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/cmd/map/libmap/laue.c (limited to 'src/cmd/map/libmap/laue.c') diff --git a/src/cmd/map/libmap/laue.c b/src/cmd/map/libmap/laue.c new file mode 100644 index 00000000..06c5f3a7 --- /dev/null +++ b/src/cmd/map/libmap/laue.c @@ -0,0 +1,24 @@ +#include +#include +#include "map.h" + + +static int +Xlaue(struct place *place, double *x, double *y) +{ + double r; + if(place->nlat.lnlat.l); + if(r>3) + return(-1); + *x = - r * place->wlon.s; + *y = - r * place->wlon.c; + return(1); +} + +proj +laue(void) +{ + return(Xlaue); +} -- cgit v1.2.3