GEOS 3.14.0dev
Static Public Member Functions | List of all members
geos::precision::EnhancedPrecisionOp Class Reference

Provides versions of Geometry spatial functions which use enhanced precision techniques to reduce the likelihood of robustness problems. More...

#include <EnhancedPrecisionOp.h>

Static Public Member Functions

static std::unique_ptr< geom::Geometryintersection (const geom::Geometry *geom0, const geom::Geometry *geom1)
 Computes the set-theoretic intersection of two Geometrys, using enhanced precision.
 
static std::unique_ptr< geom::GeometryUnion (const geom::Geometry *geom0, const geom::Geometry *geom1)
 
static std::unique_ptr< geom::Geometrydifference (const geom::Geometry *geom0, const geom::Geometry *geom1)
 
static std::unique_ptr< geom::GeometrysymDifference (const geom::Geometry *geom0, const geom::Geometry *geom1)
 
static std::unique_ptr< geom::Geometrybuffer (const geom::Geometry *geom, double distance)
 

Detailed Description

Provides versions of Geometry spatial functions which use enhanced precision techniques to reduce the likelihood of robustness problems.

Member Function Documentation

◆ buffer()

static std::unique_ptr< geom::Geometry > geos::precision::EnhancedPrecisionOp::buffer ( const geom::Geometry geom,
double  distance 
)
static

Computes the buffer of a Geometry, using enhanced precision. This method should no longer be necessary, since the buffer algorithm now is highly robust.

Parameters
geomthe first Geometry
distancethe buffer distance
Returns
the Geometry representing the buffer of the input Geometry.

◆ difference()

static std::unique_ptr< geom::Geometry > geos::precision::EnhancedPrecisionOp::difference ( const geom::Geometry geom0,
const geom::Geometry geom1 
)
static

Computes the set-theoretic difference of two Geometrys, using enhanced precision.

Parameters
geom0the first Geometry
geom1the second Geometry
Returns
the Geometry representing the set-theoretic difference of the input Geometries.

◆ intersection()

static std::unique_ptr< geom::Geometry > geos::precision::EnhancedPrecisionOp::intersection ( const geom::Geometry geom0,
const geom::Geometry geom1 
)
static

Computes the set-theoretic intersection of two Geometrys, using enhanced precision.

Parameters
geom0the first Geometry
geom1the second Geometry
Returns
the Geometry representing the set-theoretic intersection of the input Geometries.

◆ symDifference()

static std::unique_ptr< geom::Geometry > geos::precision::EnhancedPrecisionOp::symDifference ( const geom::Geometry geom0,
const geom::Geometry geom1 
)
static

Computes the set-theoretic symmetric difference of two Geometrys, using enhanced precision.

Parameters
geom0the first Geometry
geom1the second Geometry
Returns
the Geometry representing the set-theoretic symmetric difference of the input Geometries.

◆ Union()

static std::unique_ptr< geom::Geometry > geos::precision::EnhancedPrecisionOp::Union ( const geom::Geometry geom0,
const geom::Geometry geom1 
)
static

Computes the set-theoretic union of two Geometrys, using enhanced precision.

Parameters
geom0the first Geometry
geom1the second Geometry
Returns
the Geometry representing the set-theoretic union of the input Geometries.

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