GEOS  3.13.0dev
NoOpGeometryOperation.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
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 #include <geos/geom/util/GeometryEditorOperation.h> // for inheritance
19 
20 // Forward declarations
21 namespace geos {
22 namespace geom {
23 class Geometry;
24 class CoordinateSequence;
25 class GeometryFactory;
26 }
27 }
28 
29 namespace geos {
30 namespace geom { // geos.geom
31 namespace util { // geos.geom.util
32 
33 
34 class GEOS_DLL NoOpGeometryOperation: public GeometryEditorOperation {
35 
36 public:
37 
41  std::unique_ptr<Geometry> edit(const Geometry* geometry,
42  const GeometryFactory* factory) override;
43 
44  ~NoOpGeometryOperation() override = default;
45 };
46 
47 
48 
49 } // namespace geos.geom.util
50 } // namespace geos.geom
51 } // namespace geos
52 
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25