GEOS 3.3.8

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

- File List

EdgeSetIntersector.h
1 /**********************************************************************
2 * $Id: EdgeSetIntersector.h 2556 2009-06-06 22:22:28Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2005-2006 Refractions Research Inc.
8 * Copyright (C) 2001-2002 Vivid Solutions Inc.
9 *
10 * This is free software; you can redistribute and/or modify it under
11 * the terms of the GNU Lesser General Public Licence as published
12 * by the Free Software Foundation.
13 * See the COPYING file for more information.
14 *
15 **********************************************************************/
16
17 #ifndef GEOS_GEOMGRAPH_INDEX_EDGESETINTERSECTOR_H
18 #define GEOS_GEOMGRAPH_INDEX_EDGESETINTERSECTOR_H
19
20 #include <geos/export.h>
21 #include <vector>
22
23 // Forward declarations
24 namespace geos {
25 namespace geomgraph {
26 class Edge;
27 namespace index {
28 class SegmentIntersector;
29 }
30 }
31 }
32
33 namespace geos {
34 namespace geomgraph { // geos::geomgraph
35 namespace index { // geos::geomgraph::index
36
37 /*
38 * This is derived from a Java interface.
39 */
40 class GEOS_DLL EdgeSetIntersector {
41 public:
50 virtual void computeIntersections(std::vector<Edge*> *edges,
51 SegmentIntersector *si, bool testAllSegments)=0;
52
56 virtual void computeIntersections(std::vector<Edge*> *edges0,
57 std::vector<Edge*> *edges1,
58 SegmentIntersector *si)=0;
59
60 virtual ~EdgeSetIntersector(){};
61 };
62
63
64 } // namespace geos.geomgraph.index
65 } // namespace geos.geomgraph
66 } // namespace geos
67
68 #endif
69
70 /**********************************************************************
71 * $Log$
72 * Revision 1.1 2006/03/14 12:55:55 strk
73 * Headers split: geomgraphindex.h, nodingSnapround.h
74 *
75 **********************************************************************/
76