GEOS 3.6.2
CoordinateFilter.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2005-2006 Refractions Research Inc.
7 *
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
12 *
13 **********************************************************************/
14
15#ifndef GEOS_GEOM_COORDINATEFILTER_H
16#define GEOS_GEOM_COORDINATEFILTER_H
17
18#include <geos/export.h>
19#include <geos/inline.h>
20
21#include <cassert>
22
23namespace geos {
24namespace geom { // geos::geom
25
26class Coordinate;
27
43class GEOS_DLL CoordinateFilter {
44public:
45 virtual ~CoordinateFilter() {}
46
52 virtual void filter_rw(Coordinate* /*coord*/) const { assert(0); }
53
59 virtual void filter_ro(const Coordinate* /*coord*/) { assert(0); }
60};
61
62} // namespace geos::geom
63} // namespace geos
64
65#endif // ndef GEOS_GEOM_COORDINATEFILTER_H
Definition CoordinateFilter.h:43
virtual void filter_rw(Coordinate *) const
Definition CoordinateFilter.h:52
virtual void filter_ro(const Coordinate *)
Definition CoordinateFilter.h:59
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25