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> 29 class RayCrossingCounter;
34 class 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
A contiguous portion of 1D-space. Used internally by SIRtree.
Definition: strtree/Interval.h:29
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition: PointOnGeometryLocator.h:36
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:32
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
geom::Location locate(const geom::Coordinate *p) override
Determines the Location of a point in an areal Geometry.
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44