GEOS  3.9.1dev
MonotoneChainSelectAction.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2001-2002 Vivid Solutions 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  * Last port: index/chain/MonotoneChainSelectAction.java rev. 1.6 (JTS-1.10)
16  *
17  **********************************************************************/
18 
19 #ifndef GEOS_IDX_CHAIN_MONOTONECHAINSELECTACTION_H
20 #define GEOS_IDX_CHAIN_MONOTONECHAINSELECTACTION_H
21 
22 #include <geos/export.h>
23 #include <geos/geom/LineSegment.h> // composition
24 #include <geos/geom/Envelope.h> // composition
25 
26 
27 // Forward declarations
28 namespace geos {
29 namespace index {
30 namespace chain {
31 class MonotoneChain;
32 }
33 }
34 }
35 
36 namespace geos {
37 namespace index { // geos::index
38 namespace chain { // geos::index::chain
39 
46 
47 protected:
48 
50 
51 public:
52 
54 
55  virtual
57 
59  virtual void select(MonotoneChain& mc, size_t start);
60 
67  virtual void select(const geom::LineSegment& seg) = 0;
68 
69 };
70 
71 
72 } // namespace geos::index::chain
73 } // namespace geos::index
74 } // namespace geos
75 
76 #endif // GEOS_IDX_CHAIN_MONOTONECHAINSELECTACTION_H
77 
#define GEOS_DLL
Definition: export.h:28
Basic namespace for all GEOS functionalities.
Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...