GEOS  3.13.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 #pragma once
17 
18 #include <geos/export.h>
19 #include <memory>
20 
21 // Forward declarations
22 namespace geos {
23 namespace geom {
24 class Geometry;
25 class GeometryFactory;
26 }
27 }
28 
29 
30 namespace geos {
31 namespace geom { // geos.geom
32 namespace util { // geos.geom.util
33 
34 
38 class GEOS_DLL GeometryEditorOperation {
39 
40 public:
53  virtual std::unique_ptr<Geometry> edit(const Geometry* geometry,
54  const GeometryFactory* factory) = 0;
55 
56  virtual
58 };
59 
60 
61 
62 } // namespace geos.geom.util
63 } // namespace geos.geom
64 } // namespace geos
65 
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:65
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Definition: GeometryEditorOperation.h:38
virtual std::unique_ptr< Geometry > edit(const Geometry *geometry, const GeometryFactory *factory)=0
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25