19 #ifndef GEOS_OP_OVERLAY_FUZZYPOINTLOCATOR_H
20 #define GEOS_OP_OVERLAY_FUZZYPOINTLOCATOR_H
22 #include <geos/export.h>
23 #include <geos/algorithm/PointLocator.h>
24 #include <geos/geom/Geometry.h>
25 #include <geos/geom/Location.h>
32 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
58 class GEOS_DLL FuzzyPointLocator {
62 FuzzyPointLocator(
const geom::Geometry& geom,
double nTolerance);
68 const geom::Geometry& g;
72 algorithm::PointLocator ptLocator;
74 std::unique_ptr<geom::Geometry> linework;
77 std::unique_ptr<geom::Geometry> getLineWork(
const geom::Geometry& geom);
83 std::unique_ptr<geom::Geometry> extractLineWork(
const geom::Geometry& geom);
86 FuzzyPointLocator(
const FuzzyPointLocator& other) =
delete;
87 FuzzyPointLocator& operator=(
const FuzzyPointLocator& rhs) =
delete;
99 #endif // ndef GEOS_OP_OVERLAY_FUZZYPOINTLOCATOR_H