EnhancedPrecisionOp.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2005-2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************
*
* Last port: precision/EnhancedPrecisionOp.java rev. 1.9 (JTS-1.7)
*
**********************************************************************/
#pragma once
#include <geos/export.h>
#include <geos/constants.h> // for int64
#include <geos/geom/Geometry.h>
#include <memory>
namespace geos {
namespace precision { // geos.precision
class GEOS_DLL EnhancedPrecisionOp {
public:
static std::unique_ptr<geom::Geometry> intersection(
const geom::Geometry* geom0,
const geom::Geometry* geom1);
static std::unique_ptr<geom::Geometry> Union(
const geom::Geometry* geom0,
const geom::Geometry* geom1);
static std::unique_ptr<geom::Geometry> difference(
const geom::Geometry* geom0,
const geom::Geometry* geom1);
static std::unique_ptr<geom::Geometry> symDifference(
const geom::Geometry* geom0,
const geom::Geometry* geom1);
static std::unique_ptr<geom::Geometry> buffer(
const geom::Geometry* geom,
double distance);
};
} // namespace geos.precision
} // namespace geos
geos::geom::Geometry
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:196
geos::precision::EnhancedPrecisionOp
Provides versions of Geometry spatial functions which use enhanced precision techniques to reduce the...
Definition EnhancedPrecisionOp.h:35
geos::precision::EnhancedPrecisionOp::Union
static std::unique_ptr< geom::Geometry > Union(const geom::Geometry *geom0, const geom::Geometry *geom1)
geos::precision::EnhancedPrecisionOp::intersection
static std::unique_ptr< geom::Geometry > intersection(const geom::Geometry *geom0, const geom::Geometry *geom1)
Computes the set-theoretic intersection of two Geometrys, using enhanced precision.
geos::precision::EnhancedPrecisionOp::buffer
static std::unique_ptr< geom::Geometry > buffer(const geom::Geometry *geom, double distance)
geos::precision::EnhancedPrecisionOp::difference
static std::unique_ptr< geom::Geometry > difference(const geom::Geometry *geom0, const geom::Geometry *geom1)
geos::precision::EnhancedPrecisionOp::symDifference
static std::unique_ptr< geom::Geometry > symDifference(const geom::Geometry *geom0, const geom::Geometry *geom1)
geos::geom
Definition Angle.h:26
geos::precision
Provides classes for manipulating the precision model of Geometries.
Definition namespaces.h:300
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38