GEOS: CoordinateFilter.h Source File

GEOS 3.5.0

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

- File List

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
23 namespace geos {
24 namespace geom { // geos::geom
25
26 class Coordinate;
27
43 class GEOS_DLL CoordinateFilter {
44 public:
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
geos::geom::Coordinate
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
geos::geom::CoordinateFilter::filter_ro
virtual void filter_ro(const Coordinate *)
Definition: CoordinateFilter.h:59
geos::geom::CoordinateFilter
Definition: CoordinateFilter.h:43
geos::geom::CoordinateFilter::filter_rw
virtual void filter_rw(Coordinate *) const
Definition: CoordinateFilter.h:52
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25