|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.util.FixedPrecisionCoordinateConvertor
public final class FixedPrecisionCoordinateConvertor
Converts a double coordinate value into an equivalent integer with fixed precision.
| Method Summary | |
|---|---|
static double |
convertToDouble(int coordinate)
Converts the requested coordinate from fixed to double precision. |
static int |
convertToFixed(double coordinate)
Converts the requested coordinate from double to fixed precision. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int convertToFixed(double coordinate)
coordinate - The double coordinate value.
public static double convertToDouble(int coordinate)
coordinate - The fixed coordinate value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||