18#include <geos/geom/CoordinateSequence.h>
19#include <geos/geom/Location.h>
20#include <geos/export.h>
57class GEOS_DLL AdjacentEdgeLocator {
58 using CoordinateXY = geos::geom::CoordinateXY;
67 AdjacentEdgeLocator(
const Geometry*
geom)
72 Location locate(
const CoordinateXY* p);
79 AdjacentEdgeLocator& operator=(
const AdjacentEdgeLocator&) =
delete;
86 std::vector<const CoordinateSequence*> ringList;
93 std::vector<std::unique_ptr<CoordinateSequence>> localRingList;
99 const CoordinateXY* p,
100 const CoordinateSequence* ring,
101 NodeSections& sections);
104 const CoordinateXY* p,
105 const CoordinateXY* prev,
106 const CoordinateXY* next);
108 void init(
const Geometry*
geom);
110 void addRings(
const Geometry*
geom);
112 void addRing(
const LinearRing* ring,
bool requireCW);
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:196
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:61
AdjacentEdgeLocator(const AdjacentEdgeLocator &)=delete
Definition NodeSection.h:50
Location
Constants representing the location of a point relative to a geometry.
Definition Location.h:32
Provides classes for implementing operations on geometries.
Definition CleanCoverage.h:34
Basic namespace for all GEOS functionalities.
Definition geos.h:38