|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.precision.CommonBitsRemover
public class CommonBitsRemover
Allow computing and removing common mantissa bits from one or more Geometries.
Constructor Summary | |
---|---|
CommonBitsRemover()
|
Method Summary | |
---|---|
void |
add(Geometry geom)
Add a geometry to the set of geometries whose common bits are being computed. |
void |
addCommonBits(Geometry geom)
Adds the common coordinate bits back into a Geometry. |
Coordinate |
getCommonCoordinate()
The common bits of the Coordinates in the supplied Geometries. |
Geometry |
removeCommonBits(Geometry geom)
Removes the common coordinate bits from a Geometry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonBitsRemover()
Method Detail |
---|
public void add(Geometry geom)
geom
- a Geometry to test for common bitspublic Coordinate getCommonCoordinate()
public Geometry removeCommonBits(Geometry geom)
geom
- the Geometry from which to remove the common coordinate bits
public void addCommonBits(Geometry geom)
geom
- the Geometry to which to add the common coordinate bits
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |