public class PolylineThinner extends Object
Constructor and Description |
---|
PolylineThinner() |
Modifier and Type | Method and Description |
---|---|
IPolyline |
thinPoints(IPolyline feature,
List<IPolyline> neighborList,
double threshold)
Given a feature, apply Visvalingam's algorithm to reduce the
complexity of the feature geometry.
|
public IPolyline thinPoints(IPolyline feature, List<IPolyline> neighborList, double threshold)
feature
- the feature to be reducedneighborList
- a potentially empty list of neighboring features
(null values are allowed); this list is allowed to include the input
feature itself.threshold
- the value to be used for the Visvalingham area criterion.Copyright © 2021. All rights reserved.