short_way.c File Reference

#include <grass/gis.h>

Include dependency graph for short_way.c:

Go to the source code of this file.

Functions

int G_shortest_way (double *east1, double *east2)
 shortest way between eastings


Function Documentation

int G_shortest_way ( double *  east1,
double *  east2 
)

shortest way between eastings

If the database projection is PROJECTION_LL, then east1,east2 are changed so that they are no more than 180 degrees apart. Their true locations are not changed. If the database projection is not PROJECTION_LL, then east1,east2 are not changed.

Parameters:
east1 
east2 
Returns:
int

Definition at line 23 of file short_way.c.

References G_projection().


Generated on Sun Apr 6 17:32:25 2008 for GRASS by  doxygen 1.5.5