GEOS: SegmentSetMutualIntersector.h Source File

GEOS 3.5.0

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

- File List

SegmentSetMutualIntersector.h
1 /**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2006 Refractions Research Inc.
7 *
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
12 *
13 *
14 **********************************************************************/
15
16 #ifndef GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H
17 #define GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H
18
19 #include <geos/noding/SegmentString.h>
20 #include <geos/noding/SegmentIntersector.h>
21
22 namespace geos {
23 namespace noding { // geos::noding
24
37 class SegmentSetMutualIntersector
38 {
39 public:
40
41 SegmentSetMutualIntersector()
42 : segInt(0)
43 {}
44
45 virtual ~SegmentSetMutualIntersector() {}
46
54 void setSegmentIntersector(SegmentIntersector* si)
55 {
56 segInt = si;
57 }
58
63 virtual void setBaseSegments(SegmentString::ConstVect* segStrings) = 0;
64
70 virtual void process(SegmentString::ConstVect* segStrings) = 0;
71
72 protected:
73
74 SegmentIntersector* segInt;
75
76 };
77
78 } // geos::noding
79 } // geos
80
81 #endif // GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H
geos::noding::SegmentSetMutualIntersector::setSegmentIntersector
void setSegmentIntersector(SegmentIntersector *si)
Definition: SegmentSetMutualIntersector.h:54
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geos::noding::SegmentSetMutualIntersector::process
virtual void process(SegmentString::ConstVect *segStrings)=0
geos::noding::SegmentIntersector
Processes possible intersections detected by a Noder.
Definition: noding/SegmentIntersector.h:47
geos::noding::SegmentSetMutualIntersector
An intersector for the red-blue intersection problem.
Definition: SegmentSetMutualIntersector.h:37
geos::noding::SegmentSetMutualIntersector::setBaseSegments
virtual void setBaseSegments(SegmentString::ConstVect *segStrings)=0