21#include <geos/export.h>
22#include <geos/geom/Coordinate.h>
23#include <geos/geom/CoordinateSequence.h>
24#include <geos/geom/Location.h>
Functions for locating points within basic geometric structures such as lines and rings.
Definition: PointLocation.h:36
static bool isOnLine(const geom::Coordinate &p, const geom::CoordinateSequence *line)
Tests whether a point lies on the line defined by a CoordinateSequence.
static geom::Location locateInRing(const geom::Coordinate &p, const std::vector< const geom::Coordinate * > &ring)
Determines whether a point lies in the interior, on the boundary, or in the exterior of a ring....
static bool isInRing(const geom::Coordinate &p, const std::vector< const geom::Coordinate * > &ring)
Tests whether a point lies inside or on a ring.
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:32
Basic namespace for all GEOS functionalities.
Definition: geos.h:39