20#ifndef GEOS_ALGORITHM_POINTLOCATOR_H
21#define GEOS_ALGORITHM_POINTLOCATOR_H
23#include <geos/export.h>
24#include <geos/geom/Location.h>
83 return locate(p, geom) != geom::Location::EXTERIOR;
Computes the topological relationship (Location) of a single point to a Geometry.
Definition PointLocator.h:57
geom::Location locate(const geom::Coordinate &p, const geom::Geometry *geom)
bool intersects(const geom::Coordinate &p, const geom::Geometry *geom)
Definition PointLocator.h:81
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:188
Definition LineString.h:68
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple.
Definition LinearRing.h:54
Represents a linear polygon, which may include holes.
Definition Polygon.h:64
Location
Constants representing the location of a point relative to a geometry.
Definition Location.h:34
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:26