GEOS  3.9.1dev
UnionStrategy.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://trac.osgeo.org/geos
5  *
6  * Copyright (C) 2020 Paul Ramsey <pramsey@cleverelephant.ca>
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 #pragma once
16 
17 #include <geos/export.h>
18 
19 #include <memory>
20 
21 
22 // Forward declarations
23 namespace geos {
24 namespace geom {
25 class Geometry;
26 }
27 }
28 
29 namespace geos {
30 namespace operation { // geos::operation
31 namespace geounion { // geos::operation::geounion
32 
41 
42 public:
43 
44  virtual ~UnionStrategy() {};
45 
51  virtual std::unique_ptr<geom::Geometry> Union(const geom::Geometry*, const geom::Geometry*) = 0;
52 
62  virtual bool isFloatingPrecision() const = 0;
63 
64 
65 };
66 
67 } // namespace geos::operation::geounion
68 } // namespace geos::operation
69 } // namespace geos
70 
#define GEOS_DLL
Definition: export.h:28
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Basic namespace for all GEOS functionalities.