22#include <geos/export.h>
72 std::size_t vertexIndex);
77 return snap(hotPixel,
nullptr, 0);
85 static constexpr double SAFE_ENV_EXPANSION_FACTOR = 0.75;
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
Abstract class defines basic insertion and query operations supported by classes implementing spatial...
Definition SpatialIndex.h:46
An interface for classes which represent a sequence of contiguous line segments.
Definition SegmentString.h:47
Implements a "hot pixel" as used in the Snap Rounding algorithm.
Definition HotPixel.h:60
"Snaps" all SegmentStrings in a SpatialIndex containing MonotoneChains to a given HotPixel.
Definition MCIndexPointSnapper.h:49
bool snap(HotPixel &hotPixel, SegmentString *parentEdge, std::size_t vertexIndex)
Snaps (nodes) all interacting segments to this hot pixel.
Basic namespace for all GEOS functionalities.
Definition geos.h:39