GEOS  3.9.1dev
EdgeSetIntersector.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) 2005-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 #ifndef GEOS_GEOMGRAPH_INDEX_EDGESETINTERSECTOR_H
17 #define GEOS_GEOMGRAPH_INDEX_EDGESETINTERSECTOR_H
18 
19 #include <geos/export.h>
20 #include <vector>
21 
22 // Forward declarations
23 namespace geos {
24 namespace geomgraph {
25 class Edge;
26 namespace index {
27 class SegmentIntersector;
28 }
29 }
30 }
31 
32 namespace geos {
33 namespace geomgraph { // geos::geomgraph
34 namespace index { // geos::geomgraph::index
35 
42 public:
51  virtual void computeIntersections(std::vector<Edge*>* edges,
52  SegmentIntersector* si, bool testAllSegments) = 0;
53 
57  virtual void computeIntersections(std::vector<Edge*>* edges0,
58  std::vector<Edge*>* edges1,
59  SegmentIntersector* si) = 0;
60 
61  virtual
63 };
64 
65 
66 } // namespace geos.geomgraph.index
67 } // namespace geos.geomgraph
68 } // namespace geos
69 
70 #endif
71 
#define GEOS_DLL
Definition: export.h:28
Computes the intersection of line segments, and adds the intersection to the edges containing the seg...
An EdgeSetIntersector computes all the intersections between the edges in the set.
Basic namespace for all GEOS functionalities.