GEOS 3.6.2
CoordinateOperation.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_COORDINATEOPERATION_H
17#define GEOS_GEOM_UTIL_COORDINATEOPERATION_H
18
19#include <geos/export.h>
20#include <geos/geom/util/GeometryEditorOperation.h> // for inheritance
21
22// Forward declarations
23namespace geos {
24 namespace geom {
25 class Geometry;
27 class GeometryFactory;
28 }
29}
30
31
32namespace geos {
33namespace geom { // geos.geom
34namespace util { // geos.geom.util
35
42
43public:
44
48 virtual Geometry* edit(const Geometry *geometry,
49 const GeometryFactory *factory);
50
59 virtual CoordinateSequence* edit(const CoordinateSequence* coordinates,
60 const Geometry *geometry)=0;
61
62
63 virtual ~CoordinateOperation() {}
64};
65
66
67
68} // namespace geos.geom.util
69} // namespace geos.geom
70} // namespace geos
71
72#endif
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:67
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
Definition CoordinateOperation.h:41
virtual Geometry * edit(const Geometry *geometry, const GeometryFactory *factory)
virtual CoordinateSequence * edit(const CoordinateSequence *coordinates, const Geometry *geometry)=0
Definition GeometryEditorOperation.h:38
Provides classes that parse and modify Geometry objects.
Definition ComponentCoordinateExtracter.h:30
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25