public class MeasurementErrorModifier extends AbstractPolygonModifier
| Constructor and Description |
|---|
MeasurementErrorModifier() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return name of modifier class
|
Polygon |
modify(Polygon p,
double threshold)
Modifies a polygon by adding a random error between -threshold and
+threshold to its latitude and longitude
|
modifySetpublic Polygon modify(Polygon p, double threshold)
p - Polygon to modifythreshold - Error rangepublic String getName()
IPolygonModifierCopyright © 2020. All rights reserved.