15 #ifndef GEOS_PRECISION_COMMONBITSOP_H
16 #define GEOS_PRECISION_COMMONBITSOP_H
18 #include <geos/export.h>
19 #include <geos/precision/CommonBitsRemover.h>
26 #pragma warning(disable: 4251)
54 bool returnToOriginalPrecision;
56 std::unique_ptr<CommonBitsRemover> cbr;
66 std::unique_ptr<geom::Geometry> removeCommonBits(
const geom::Geometry* geom0);
71 void removeCommonBits(
74 std::unique_ptr<geom::Geometry>& rgeom0,
75 std::unique_ptr<geom::Geometry>& rgeom1);
113 std::unique_ptr<geom::Geometry>
Union(
164 std::unique_ptr<geom::Geometry> result);
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Provides versions of Geometry spatial functions which use common bit removal to reduce the likelihood...
Definition: CommonBitsOp.h:50
std::unique_ptr< geom::Geometry > difference(const geom::Geometry *geom0, const geom::Geometry *geom1)
Computes the set-theoretic difference of two Geometry, using enhanced precision.
std::unique_ptr< geom::Geometry > symDifference(const geom::Geometry *geom0, const geom::Geometry *geom1)
Computes the set-theoretic symmetric difference of two geometries, using enhanced precision.
std::unique_ptr< geom::Geometry > intersection(const geom::Geometry *geom0, const geom::Geometry *geom1)
Computes the set-theoretic intersection of two Geometry, using enhanced precision.
std::unique_ptr< geom::Geometry > Union(const geom::Geometry *geom0, const geom::Geometry *geom1)
Computes the set-theoretic union of two Geometry, using enhanced precision.
std::unique_ptr< geom::Geometry > buffer(const geom::Geometry *geom0, double distance)
Computes the buffer a geometry, using enhanced precision.
CommonBitsOp()
Creates a new instance of class, which reshifts result Geometry.
std::unique_ptr< geom::Geometry > computeResultPrecision(std::unique_ptr< geom::Geometry > result)
If required, returning the result to the orginal precision if required.
CommonBitsOp(bool nReturnToOriginalPrecision)
Creates a new instance of class, specifying whether the result geom::Geometrys should be reshifted.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26