public class GranularityModifier extends AbstractPolygonModifier
| Constructor and Description |
|---|
GranularityModifier() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return name of modifier class
|
Polygon |
modify(Polygon p,
double threshold)
Modifies a polygon by reducing the total amount of points that describe
it to threshold * original number of points.
|
modifySetpublic Polygon modify(Polygon p, double threshold)
p - Polygonthreshold - of distancepublic String getName()
IPolygonModifierCopyright © 2018. All rights reserved.