GEOS  3.13.0dev
KdNodeVisitor.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2020 Paul Ramsey <pramsey@cleverelephant.ca>
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  * Last port: index/kdtree/Node.java rev 1.8 (JTS-1.10)
16  *
17  **********************************************************************/
18 
19 #pragma once
20 
21 #include <geos/index/kdtree/KdNode.h>
22 
23 namespace geos {
24 namespace index { // geos::index
25 namespace kdtree { // geos::index::kdtree
26 
27 class GEOS_DLL KdNodeVisitor {
28 
29 private:
30 
31 protected:
32 
33 public:
34 
35  KdNodeVisitor() {};
36  virtual void visit(KdNode *node) = 0;
37 
38 
39 };
40 
41 
42 } // namespace geos::index::kdtree
43 } // namespace geos::index
44 } // namespace geos
45 
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25