GEOS
3.9.1dev
|
#include <UnionStrategy.h>
Public Member Functions | |
virtual | ~UnionStrategy () |
virtual std::unique_ptr< geom::Geometry > | Union (const geom::Geometry *, const geom::Geometry *)=0 |
virtual bool | isFloatingPrecision () const =0 |
A strategy class that adapts UnaryUnion to different kinds of overlay algorithms.
Definition at line 40 of file UnionStrategy.h.
|
inlinevirtual |
Definition at line 44 of file UnionStrategy.h.
|
pure virtual |
Indicates whether the union function operates using a floating (full) precision model. If this is the case, then the unary union code can make use of the operation::union::OverlapUnion performance optimization, and perhaps other optimizations as well. Otherwise, the union result extent may not be the same as the extent of the inputs, which prevents using some optimizations.
Implemented in geos::operation::overlayng::OverlayNGRobust::SRUnionStrategy, geos::operation::geounion::ClassicUnionStrategy, and geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy.
|
pure virtual |
Computes the union of two geometries. This method may throw a util::TopologyException if one is encountered
Implemented in geos::operation::overlayng::OverlayNGRobust::SRUnionStrategy, geos::operation::geounion::ClassicUnionStrategy, and geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy.