/src/geos/src/index/chain/MonotoneChainSelectAction.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /********************************************************************** |
2 | | * |
3 | | * GEOS - Geometry Engine Open Source |
4 | | * http://geos.osgeo.org |
5 | | * |
6 | | * Copyright (C) 2006 Refractions Research Inc. |
7 | | * Copyright (C) 2001-2002 Vivid Solutions Inc. |
8 | | * |
9 | | * This is free software; you can redistribute and/or modify it under |
10 | | * the terms of the GNU Lesser General Public Licence as published |
11 | | * by the Free Software Foundation. |
12 | | * See the COPYING file for more information. |
13 | | * |
14 | | ********************************************************************** |
15 | | * |
16 | | * Last port: index/chain/MonotoneChainSelectAction.java rev. 1.6 (JTS-1.10) |
17 | | * |
18 | | **********************************************************************/ |
19 | | |
20 | | #include <geos/index/chain/MonotoneChainSelectAction.h> |
21 | | #include <geos/index/chain/MonotoneChain.h> |
22 | | #include <geos/geom/Envelope.h> |
23 | | #include <geos/geom/LineSegment.h> |
24 | | |
25 | | |
26 | | namespace geos { |
27 | | namespace index { // geos.index |
28 | | namespace chain { // geos.index.chain |
29 | | |
30 | | void |
31 | | MonotoneChainSelectAction::select(const MonotoneChain& mc, std::size_t start) |
32 | 0 | { |
33 | 0 | mc.getLineSegment(start, selectedSegment); |
34 | |
|
35 | 0 | select(selectedSegment); |
36 | 0 | } |
37 | | |
38 | | } // namespace geos.index.chain |
39 | | } // namespace geos.index |
40 | | } // namespace geos |