GEOS  3.9.1dev
Public Member Functions | Private Attributes | List of all members
geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy Class Reference

#include <UnaryUnionNG.h>

Inheritance diagram for geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy:
[legend]
Collaboration diagram for geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy:
[legend]

Public Member Functions

 NGUnionStrategy (const PrecisionModel &p_pm)
 
std::unique_ptr< geom::GeometryUnion (const geom::Geometry *g0, const geom::Geometry *g1) override
 
bool isFloatingPrecision () const override
 
- Public Member Functions inherited from geos::operation::geounion::UnionStrategy
virtual ~UnionStrategy ()
 

Private Attributes

const geom::PrecisionModelpm
 

Detailed Description

Strategy class for NG unions.

Definition at line 57 of file UnaryUnionNG.h.

Constructor & Destructor Documentation

geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy::NGUnionStrategy ( const PrecisionModel p_pm)
inline

Definition at line 61 of file UnaryUnionNG.h.

Member Function Documentation

bool geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy::isFloatingPrecision ( ) const
inlineoverridevirtual

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.

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

Definition at line 72 of file UnaryUnionNG.h.

std::unique_ptr<geom::Geometry> geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy::Union ( const geom::Geometry ,
const geom::Geometry  
)
inlineoverridevirtual

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

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

Definition at line 66 of file UnaryUnionNG.h.

Member Data Documentation

const geom::PrecisionModel& geos::operation::overlayng::UnaryUnionNG::NGUnionStrategy::pm
private

Definition at line 79 of file UnaryUnionNG.h.


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