GEOS  3.6.2
CoordinateFilter.h
00001 /**********************************************************************
00002  *
00003  * GEOS - Geometry Engine Open Source
00004  * http://geos.osgeo.org
00005  *
00006  * Copyright (C) 2005-2006 Refractions Research Inc.
00007  *
00008  * This is free software; you can redistribute and/or modify it under
00009  * the terms of the GNU Lesser General Public Licence as published
00010  * by the Free Software Foundation. 
00011  * See the COPYING file for more information.
00012  *
00013  **********************************************************************/
00014 
00015 #ifndef GEOS_GEOM_COORDINATEFILTER_H
00016 #define GEOS_GEOM_COORDINATEFILTER_H
00017 
00018 #include <geos/export.h>
00019 #include <geos/inline.h>
00020 
00021 #include <cassert>
00022 
00023 namespace geos {
00024 namespace geom { // geos::geom
00025 
00026 class Coordinate;
00027 
00043 class GEOS_DLL CoordinateFilter {
00044 public:
00045    virtual ~CoordinateFilter() {}
00046 
00052    virtual void filter_rw(Coordinate* /*coord*/) const { assert(0); }
00053 
00059    virtual void filter_ro(const Coordinate* /*coord*/) { assert(0); }
00060 };
00061 
00062 } // namespace geos::geom
00063 } // namespace geos
00064 
00065 #endif // ndef GEOS_GEOM_COORDINATEFILTER_H