GEOS  3.8.0dev
EnhancedPrecisionOp.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2005-2006 Refractions Research Inc.
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************
14  *
15  * Last port: precision/EnhancedPrecisionOp.java rev. 1.9 (JTS-1.7)
16  *
17  **********************************************************************/
18 
19 #ifndef GEOS_PRECISION_ENHANCEDPRECISIONOP_H
20 #define GEOS_PRECISION_ENHANCEDPRECISIONOP_H
21 
22 #include <geos/export.h>
23 #include <geos/constants.h> // for int64
24 
25 // Forward declarations
26 namespace geos {
27 namespace geom {
28 class Geometry;
29 }
30 }
31 
32 namespace geos {
33 namespace precision { // geos.precision
34 
40 class GEOS_DLL EnhancedPrecisionOp {
41 
42 public:
43 
53  static geom::Geometry* intersection(
54  const geom::Geometry* geom0,
55  const geom::Geometry* geom1);
56 
65  static geom::Geometry* Union(
66  const geom::Geometry* geom0,
67  const geom::Geometry* geom1);
68 
77  static geom::Geometry* difference(
78  const geom::Geometry* geom0,
79  const geom::Geometry* geom1);
80 
89  static geom::Geometry* symDifference(
90  const geom::Geometry* geom0,
91  const geom::Geometry* geom1);
92 
102  static geom::Geometry* buffer(
103  const geom::Geometry* geom,
104  double distance);
105 };
106 
107 
108 } // namespace geos.precision
109 } // namespace geos
110 
111 #endif // GEOS_PRECISION_ENHANCEDPRECISIONOP_H
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:187
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Provides versions of Geometry spatial functions which use enhanced precision techniques to reduce the...
Definition: EnhancedPrecisionOp.h:40