GEOS  3.3.6
Public Member Functions
geos::precision::CommonBitsRemover Class Reference

Allow computing and removing common mantissa bits from one or more Geometries. More...

#include <CommonBitsRemover.h>

List of all members.

Public Member Functions

void add (const geom::Geometry *geom)
geom::CoordinategetCommonCoordinate ()
geom::GeometryremoveCommonBits (geom::Geometry *geom)
 Removes the common coordinate bits from a Geometry. The coordinates of the Geometry are changed.
geom::GeometryaddCommonBits (geom::Geometry *geom)
 Adds the common coordinate bits back into a Geometry. The coordinates of the Geometry are changed.

Detailed Description

Allow computing and removing common mantissa bits from one or more Geometries.


Member Function Documentation

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.

Parameters:
geoma Geometry to test for common bits

Referenced by geos::geom::SnapOp().

Adds the common coordinate bits back into a Geometry. The coordinates of the Geometry are changed.

Parameters:
geomthe Geometry to which to add the common coordinate bits
Returns:
the shifted Geometry

Referenced by geos::geom::SnapOp().

The common bits of the Coordinates in the supplied Geometries.

Referenced by geos::geom::SnapOp().

Removes the common coordinate bits from a Geometry. The coordinates of the Geometry are changed.

Parameters:
geomthe Geometry from which to remove the common coordinate bits
Returns:
the shifted Geometry

Referenced by geos::geom::SnapOp().


The documentation for this class was generated from the following file: