78 static constexpr int INTERSECTION_NEARNESS_FACTOR = 100;
82 noding::snapround::HotPixelIndex pixelIndex;
83 std::vector<SegmentString*> snappedResult;
86 void snapRound(std::vector<SegmentString*>& inputSegStrings, std::vector<SegmentString*>& resultNodedSegments);
95 void addVertexPixels(std::vector<SegmentString*>& segStrings);
102 void addIntersectionPixels(std::vector<SegmentString*>& segStrings);
120 void computeSnaps(
const std::vector<SegmentString*>& segStrings, std::vector<SegmentString*>& snapped);
131 void snapSegment(
const geom::CoordinateXY& p0,
const geom::CoordinateXY& p1,
NodedSegmentString* ss, std::size_t segIndex);
139 void snapVertexNode(
const geom::CoordinateXY& p0,
NodedSegmentString* ss, std::size_t segIndex);
157 void computeNodes(std::vector<SegmentString*>* inputSegStrings)
override;