TaggedLineStringSimplifier class
Methods
-
findFurthestPoint(List<Coordinate> pts, int i, int j, List<double> maxDistance)
→ int
-
-
flatten(int start, int end)
→ LineSegment
-
Flattens a section of the line between
indexes
start
and end
,
replacing them with a line between the endpoints.
The input and output indexes are updated
to reflect this.
-
hasBadInputIntersection(TaggedLineString parentLine, List<int> sectionIndex, LineSegment candidateSeg)
→ bool
-
-
hasBadIntersection(TaggedLineString parentLine, List<int> sectionIndex, LineSegment candidateSeg)
→ bool
-
-
hasBadOutputIntersection(LineSegment candidateSeg)
→ bool
-
-
hasInvalidIntersection(LineSegment seg0, LineSegment seg1)
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(TaggedLineString line, int start, int end)
→ void
-
Remove the segs in the section of the line
@param line
@param pts
@param sectionStartIndex
@param sectionEndIndex
-
setDistanceTolerance(double distanceTolerance)
→ void
-
Sets the distance tolerance for the simplification.
All vertices in the simplified geometry will be within this
distance of the original geometry.
-
simplify(TaggedLineString line)
→ void
-
Simplifies the given {@link TaggedLineString}
using the distance tolerance specified.
-
simplifySection(int i, int j, int depth)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited