19#include <geos/geom/LineSegment.h>
20#include <geos/algorithm/locate/PointOnGeometryLocator.h>
21#include <geos/index/ItemVisitor.h>
22#include <geos/index/strtree/TemplateSTRtree.h>
29class RayCrossingCounter;
34class CoordinateSequence;
61 assert(p_p0 + 1 == p_p1);
75 class IntervalIndexedGeometry {
78 index::strtree::TemplateSTRtree<SegmentView, index::strtree::IntervalTraits> index;
86 template<
typename Visitor>
87 void query(
double min,
double max, Visitor&& f) {
93 std::unique_ptr<IntervalIndexedGeometry> index;
Determines the location of Coordinates relative to an areal geometry, using indexing for efficiency.
Definition: IndexedPointInAreaLocator.h:54
IndexedPointInAreaLocator(const geom::Geometry &g)
Creates a new locator for a given Geometry.
geom::Location locate(const geom::Coordinate *p) override
Determines the Location of a point in an areal Geometry.
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition: PointOnGeometryLocator.h:36
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
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
A contiguous portion of 1D-space. Used internally by SIRtree.
Definition: strtree/Interval.h:29
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