VWLineSimplifier class
Simplifies a linestring (sequence of points) using the Visvalingam-Whyatt algorithm. The Visvalingam-Whyatt algorithm simplifies geometry by removing vertices while trying to minimize the area changed.
@version 1.7
Constructors
-
VWLineSimplifier(List<
Coordinate> pts, double tolerance)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pts
↔ List<
Coordinate> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tolerance ↔ double
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
simplify(
) → List< Coordinate> -
simplifyVertex(
VWVertex vwLine) → double -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited