GEOS 3.14.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
22namespace geos {
23namespace geom {
24class Geometry;
25class GeometryFactory;
26}
27}
28
29
30namespace geos {
31namespace geom { // geos.geom
32namespace util { // geos.geom.util
33
34
39
40public:
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:70
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Definition GeometryEditorOperation.h:38
virtual std::unique_ptr< Geometry > edit(const Geometry *geometry, const GeometryFactory *factory)=0
Basic namespace for all GEOS functionalities.
Definition geos.h:39