#include "gis.h"Include dependency graph for pole_in_poly.c:

Go to the source code of this file.
Functions | |
| int | G_pole_in_polygon (double *x, double *y, int n) |
| pole in polygon | |
| int G_pole_in_polygon | ( | double * | x, | |
| double * | y, | |||
| int | n | |||
| ) |
pole in polygon
For latitude-longitude coordinates, this routine determines if the polygon defined by the n coordinate vertices x,y contains one of the poles. Returns -1 if it contains the south pole; 1 if it contains the north pole; 0 if it contains neither pole. Note. Use this routine only if the projection is PROJECTION_LL.
| x | ||
| y | ||
| n |
Definition at line 37 of file pole_in_poly.c.
1.4.7