|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
|
GIS Library - Pole in polygon. More...
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
| int | G_pole_in_polygon (const double *x, const double *y, int n) |
| Check if pole is in polygon. | |
GIS Library - Pole in polygon.
SPDX-FileCopyrightText: 2001-2009 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file pole_in_poly.c.
Check if pole is 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.
Note: Use this routine only if the projection is PROJECTION_LL.
| x | array of x coordinates |
| y | array of y coordinates |
| n | number of coordinates |
Definition at line 33 of file pole_in_poly.c.
References x.