|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.util.FanCompress
public abstract class FanCompress
Class to perform fan compression on points.
Nested Class Summary | |
---|---|
static class |
FanCompress.FanPoint
|
static class |
FanCompress.FloatCompress
FanCompress class for float values. |
Constructor Summary | |
---|---|
FanCompress()
|
Method Summary | |
---|---|
static void |
fan_compress(FanCompress fan,
double epsilon)
Perform fan compression. |
abstract boolean |
next_point(FanCompress.FanPoint p)
Get the next point. |
abstract void |
save_point(double x,
double y)
Save coordinates. |
abstract void |
set_coalesce_points(double epsilon)
Save only unique coordinates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FanCompress()
Method Detail |
---|
public abstract boolean next_point(FanCompress.FanPoint p)
p
- FanPoint
public abstract void save_point(double x, double y)
x
- coordinatey
- coordinatepublic abstract void set_coalesce_points(double epsilon)
epsilon
- threshold used to determine uniqueness of
coordinates.public static final void fan_compress(FanCompress fan, double epsilon)
fan
- FanCompress objectepsilon
- double
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |