GEOS: CoordinateOperation.h Source File

GEOS 3.5.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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
23 namespace geos {
24 namespace geom {
25 class Geometry;
26 class CoordinateSequence;
27 class GeometryFactory;
28 }
29 }
30
31
32 namespace geos {
33 namespace geom { // geos.geom
34 namespace util { // geos.geom.util
35
41 class GEOS_DLL CoordinateOperation: public GeometryEditorOperation {
42
43 public:
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
geos::geom::Geometry
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
geos::geom::util::CoordinateOperation
Definition: CoordinateOperation.h:41
geos::geom::GeometryFactory
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geos::geom::CoordinateSequence
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
geos::geom::util::GeometryEditorOperation
Definition: GeometryEditorOperation.h:38