GEOS 3.14.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
21namespace geos {
22namespace geom {
23class Geometry;
24class CoordinateSequence;
25class GeometryFactory;
26}
27}
28
29namespace geos {
30namespace geom { // geos.geom
31namespace util { // geos.geom.util
32
33
34class GEOS_DLL NoOpGeometryOperation: public GeometryEditorOperation {
35
36public:
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 geos.h:39