Complete Note#1 in the http://wiki.osgeo.org/wiki/GEOS_Provenance_Review to get out...
[geos.git] / src / index / chain / MonotoneChainSelectAction.cpp
blob3c0db030af31611f4db27aea03275763f5569521
1 /**********************************************************************
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
6 * Copyright (C) 2006 Refractions Research Inc.
7 * Copyright (C) 2001-2002 Vivid Solutions Inc.
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.
14 **********************************************************************
16 * Last port: index/chain/MonotoneChainSelectAction.java rev. 1.6 (JTS-1.10)
18 **********************************************************************/
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>
26 namespace geos {
27 namespace index { // geos.index
28 namespace chain { // geos.index.chain
30 void
31 MonotoneChainSelectAction::select(MonotoneChain& mc, unsigned int start)
33 mc.getLineSegment(start, selectedSegment);
35 select(selectedSegment);
38 } // namespace geos.index.chain
39 } // namespace geos.index
40 } // namespace geos
42 /**********************************************************************
43 * $Log$
44 * Revision 1.11 2006/03/22 18:12:32 strk
45 * indexChain.h header split.
47 **********************************************************************/