17 #ifndef GEOS_ALGORITHM_LOCATE_INDEXEDPOINTINAREALOCATOR_H 18 #define GEOS_ALGORITHM_LOCATE_INDEXEDPOINTINAREALOCATOR_H 20 #include <geos/geom/LineSegment.h> 21 #include <geos/algorithm/locate/PointOnGeometryLocator.h> 22 #include <geos/index/ItemVisitor.h> 23 #include <geos/index/intervalrtree/SortedPackedIntervalRTree.h> 30 class RayCrossingCounter;
35 class CoordinateSequence;
54 class IntervalIndexedGeometry {
63 std::vector< geom::LineSegment > segments;
81 ~SegmentVisitor()
override 84 void visitItem(
void* item)
override;
89 std::unique_ptr<IntervalIndexedGeometry> index;
122 #endif // GEOS_ALGORITHM_LOCATE_INDEXEDPOINTINAREALOCATOR_H Determines the location of Coordinates relative to an areal geometry, using indexing for efficiency.
Definition: IndexedPointInAreaLocator.h:52
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
A static index on a set of 1-dimensional intervals, using an R-Tree packed based on the order of the ...
Definition: SortedPackedIntervalRTree.h:51
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition: PointOnGeometryLocator.h:37
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:34
A visitor for items in an index.
Definition: ItemVisitor.h:29
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.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:58
Counts the number of segments crossed by a horizontal ray extending to the right from a given point,...
Definition: RayCrossingCounter.h:65