GEOS 3.13.1
|
Allow computing and removing common mantissa bits from one or more Geometries. More...
#include <CommonBitsRemover.h>
Public Member Functions | |
void | add (const geom::Geometry *geom) |
geom::Coordinate & | getCommonCoordinate () |
void | removeCommonBits (geom::Geometry *geom) |
Removes the common coordinate bits from a Geometry. The coordinates of the Geometry are changed. | |
geom::Geometry * | addCommonBits (geom::Geometry *geom) |
Adds the common coordinate bits back into a Geometry. The coordinates of the Geometry are changed. |
Allow computing and removing common mantissa bits from one or more Geometries.
void geos::precision::CommonBitsRemover::add | ( | const geom::Geometry * | geom | ) |
Add a geometry to the set of geometries whose common bits are being computed. After this method has executed the common coordinate reflects the common bits of all added geometries.
geom | a Geometry to test for common bits |
geom::Geometry * geos::precision::CommonBitsRemover::addCommonBits | ( | geom::Geometry * | geom | ) |
geom::Coordinate & geos::precision::CommonBitsRemover::getCommonCoordinate | ( | ) |
The common bits of the Coordinates in the supplied Geometries.
void geos::precision::CommonBitsRemover::removeCommonBits | ( | geom::Geometry * | geom | ) |