GEOS 3.11.1
Public Member Functions | List of all members
geos::operation::geounion::ClassicUnionStrategy Class Reference

Implementation of UnionStrategy that provides overlay using the first generation overlay routines. More...

#include <CascadedPolygonUnion.h>

Inheritance diagram for geos::operation::geounion::ClassicUnionStrategy:
geos::operation::geounion::UnionStrategy

Public Member Functions

std::unique_ptr< geom::GeometryUnion (const geom::Geometry *, const geom::Geometry *) override
 
bool isFloatingPrecision () const override
 
- Public Member Functions inherited from geos::operation::geounion::UnionStrategy
virtual std::unique_ptr< geom::GeometryUnion (const geom::Geometry *, const geom::Geometry *)=0
 
virtual std::unique_ptr< geom::GeometryUnion (std::unique_ptr< geom::Geometry > &&, std::unique_ptr< geom::Geometry > &&)
 
virtual bool isFloatingPrecision () const =0
 

Detailed Description

Implementation of UnionStrategy that provides overlay using the first generation overlay routines.

Member Function Documentation

◆ isFloatingPrecision()

bool geos::operation::geounion::ClassicUnionStrategy::isFloatingPrecision ( ) const
overridevirtual

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 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.

Implements geos::operation::geounion::UnionStrategy.

◆ Union()

std::unique_ptr< geom::Geometry > geos::operation::geounion::ClassicUnionStrategy::Union ( const geom::Geometry ,
const geom::Geometry  
)
overridevirtual

Computes the union of two geometries. This method may throw a util::TopologyException if one is encountered

Implements geos::operation::geounion::UnionStrategy.


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