CoordinateOperation.h

00001 /**********************************************************************
00002  *
00003  * GEOS - Geometry Engine Open Source
00004  * http://geos.osgeo.org
00005  *
00006  * Copyright (C) 2001-2002 Vivid Solutions Inc.
00007  * Copyright (C) 2006 Refractions Research Inc.
00008  *
00009  * This is free software; you can redistribute and/or modify it under
00010  * the terms of the GNU Lesser General Public Licence as published
00011  * by the Free Software Foundation. 
00012  * See the COPYING file for more information.
00013  *
00014  **********************************************************************/
00015 
00016 #ifndef GEOS_GEOM_UTIL_COORDINATEOPERATION_H
00017 #define GEOS_GEOM_UTIL_COORDINATEOPERATION_H
00018 
00019 #include <geos/export.h>
00020 #include <geos/geom/util/GeometryEditorOperation.h> // for inheritance
00021 
00022 // Forward declarations
00023 namespace geos {
00024         namespace geom {
00025                 class Geometry;
00026                 class CoordinateSequence;
00027                 class GeometryFactory;
00028         }
00029 }
00030 
00031 
00032 namespace geos {
00033 namespace geom { // geos.geom
00034 namespace util { // geos.geom.util
00035 
00041 class GEOS_DLL CoordinateOperation: public GeometryEditorOperation {
00042 
00043 public:
00044 
00048         virtual Geometry* edit(const Geometry *geometry,
00049                         const GeometryFactory *factory);
00050 
00059         virtual CoordinateSequence* edit(const CoordinateSequence* coordinates,
00060                         const Geometry *geometry)=0;
00061 
00062 
00063         virtual ~CoordinateOperation() {}
00064 };
00065 
00066 
00067 
00068 } // namespace geos.geom.util
00069 } // namespace geos.geom
00070 } // namespace geos
00071 
00072 #endif

Generated on 23 Sep 2013 for GEOS by  doxygen 1.4.7