GEOS: CoordinateOperation.h Source File

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

- File List

# CoordinateOperation.h

    00001 /**********************************************************************
    00002  * $Id: CoordinateOperation.h 2556 2009-06-06 22:22:28Z strk $
    00003  *
    00004  * GEOS - Geometry Engine Open Source
    00005  * http://geos.refractions.net
    00006  *
    00007  * Copyright (C) 2001-2002 Vivid Solutions Inc.
    00008  * Copyright (C) 2006 Refractions Research Inc.
    00009  *
    00010  * This is free software; you can redistribute and/or modify it under
    00011  * the terms of the GNU Lesser General Public Licence as published
    00012  * by the Free Software Foundation.
    00013  * See the COPYING file for more information.
    00014  *
    00015  **********************************************************************/
    00016
    00017 #ifndef GEOS_GEOM_UTIL_COORDINATEOPERATION_H
    00018 #define GEOS_GEOM_UTIL_COORDINATEOPERATION_H
    00019
    00020 #include <geos/export.h>
    00021 #include <geos/geom/util/GeometryEditorOperation.h> // for inheritance
    00022
    00023 // Forward declarations
    00024 namespace geos {
    00025         namespace geom {
    00026                 class Geometry;
    00027                 class CoordinateSequence;
    00028                 class GeometryFactory;
    00029         }
    00030 }
    00031
    00032
    00033 namespace geos {
    00034 namespace geom { // geos.geom
    00035 namespace util { // geos.geom.util
    00036
    00042 class GEOS_DLL CoordinateOperation: public GeometryEditorOperation {
    00043
    00044 public:
    00045
    00049         virtual Geometry* edit(const Geometry *geometry,
    00050                         const GeometryFactory *factory);
    00051
    00060         virtual CoordinateSequence* edit(const CoordinateSequence* coordinates,
    00061                         const Geometry *geometry)=0;
    00062
    00063
    00064         virtual ~CoordinateOperation() {}
    00065 };
    00066
    00067
    00068
    00069 } // namespace geos.geom.util
    00070 } // namespace geos.geom
    00071 } // namespace geos
    00072
    00073 //#ifdef GEOS_INLINE
    00074 //# include "geos/geom/util/CoordinateOperation.inl"
    00075 //#endif
    00076
    00077 #endif
    00078
    00079 /**********************************************************************
    00080  * $Log$
    00081  * Revision 1.3  2006/06/08 11:20:24  strk
    00082  * Added missing virtual destructor to abstract classes.
    00083  *
    00084  * Revision 1.2  2006/03/24 09:52:41  strk
    00085  * USE_INLINE => GEOS_INLINE
    00086  *
    00087  * Revision 1.1  2006/03/09 16:46:49  strk
    00088  * geos::geom namespace definition, first pass at headers split
    00089  *
    00090  **********************************************************************/