GEOS: EdgeSetIntersector.h Source File

GEOS 3.5.0

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

- File List

EdgeSetIntersector.h
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
36 /*
37 * This is derived from a Java interface.
38 */
39 class GEOS_DLL EdgeSetIntersector {
40 public:
49 virtual void computeIntersections(std::vector<Edge*> *edges,
50 SegmentIntersector *si, bool testAllSegments)=0;
51
55 virtual void computeIntersections(std::vector<Edge*> *edges0,
56 std::vector<Edge*> *edges1,
57 SegmentIntersector *si)=0;
58
59 virtual ~EdgeSetIntersector(){}
60 };
61
62
63 } // namespace geos.geomgraph.index
64 } // namespace geos.geomgraph
65 } // namespace geos
66
67 #endif
68
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25