GEOS 3.9.1
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
23namespace geos {
24namespace geomgraph {
25class Edge;
26namespace index {
27class SegmentIntersector;
28}
29}
30}
31
32namespace geos {
33namespace geomgraph { // geos::geomgraph
34namespace index { // geos::geomgraph::index
35
41class GEOS_DLL EdgeSetIntersector {
42public:
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
An EdgeSetIntersector computes all the intersections between the edges in the set.
Definition: EdgeSetIntersector.h:41
virtual void computeIntersections(std::vector< Edge * > *edges0, std::vector< Edge * > *edges1, SegmentIntersector *si)=0
Computes all mutual intersections between two sets of edges.
virtual void computeIntersections(std::vector< Edge * > *edges, SegmentIntersector *si, bool testAllSegments)=0
Computes all self-intersections between edges in a set of edges, allowing client to choose whether se...
Computes the intersection of line segments, and adds the intersection to the edges containing the seg...
Definition: geomgraph/index/SegmentIntersector.h:47
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26