GEOS: SegmentSetMutualIntersector.h Source File

GEOS 3.3.8

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

- File List

SegmentSetMutualIntersector.h
1 /**********************************************************************
2 * $Id: SegmentSetMutualIntersector.h 2194 2008-09-23 23:01:00Z mloskot $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2006 Refractions Research 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
17 #ifndef GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H
18 #define GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H
19
20 #include <geos/noding/SegmentString.h>
21 #include <geos/noding/SegmentIntersector.h>
22
23 namespace geos {
24 namespace noding { // geos::noding
25
38 class SegmentSetMutualIntersector
39 {
40 public:
41
42 SegmentSetMutualIntersector()
43 : segInt(0)
44 {}
45
46 virtual ~SegmentSetMutualIntersector() {}
47
55 void setSegmentIntersector(SegmentIntersector* si)
56 {
57 segInt = si;
58 }
59
64 virtual void setBaseSegments(SegmentString::ConstVect* segStrings) = 0;
65
71 virtual void process(SegmentString::ConstVect* segStrings) = 0;
72
73 protected:
74
75 SegmentIntersector* segInt;
76
77 };
78
79 } // geos::noding
80 } // geos
81
82 #endif // GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H
83 /**********************************************************************
84 * $Log$
85 **********************************************************************/
86