GEOS  3.8.0dev
GeometryEditorOperation.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2001-2002 Vivid Solutions Inc.
7  * Copyright (C) 2006 Refractions Research Inc.
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************/
15 
16 #ifndef GEOS_GEOM_UTIL_GEOMETRYEDITOROPERATION_H
17 #define GEOS_GEOM_UTIL_GEOMETRYEDITOROPERATION_H
18 
19 #include <geos/export.h>
20 #include <memory>
21 
22 // Forward declarations
23 namespace geos {
24 namespace geom {
25 class Geometry;
26 class GeometryFactory;
27 }
28 }
29 
30 
31 namespace geos {
32 namespace geom { // geos.geom
33 namespace util { // geos.geom.util
34 
35 
39 class GEOS_DLL GeometryEditorOperation {
40 
41 public:
54  virtual std::unique_ptr<Geometry> edit(const Geometry* geometry,
55  const GeometryFactory* factory) = 0;
56 
57  virtual
59 };
60 
61 } // namespace geos.geom.util
62 } // namespace geos.geom
63 } // namespace geos
64 
65 #endif
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:66
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Definition: GeometryEditorOperation.h:39