Skip to content

Commit

Permalink
Reenable fixed code
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Jun 14, 2024
1 parent 8ad5c9d commit c7a61f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/simplify/TaggedLineStringSimplifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ TaggedLineStringSimplifier::simplifyRingEndpoint(double distanceTolerance)
if (simpSeg.distance(endPt) <= distanceTolerance &&
isTopologyValid(line, firstSeg, lastSeg, simpSeg))
{
line->removeRingEndpoint();
/*
//-- don't know if segments are original or new, so remove from all indexes
inputIndex->remove(firstSeg);
inputIndex->remove(lastSeg);
Expand All @@ -198,7 +196,6 @@ TaggedLineStringSimplifier::simplifyRingEndpoint(double distanceTolerance)
TaggedLineSegment* flatSeg = line->removeRingEndpoint();
//-- removed endpoint alters an existing result edge
outputIndex->add(flatSeg);
*/
}
}
}
Expand Down

0 comments on commit c7a61f0

Please sign in to comment.