GEOS
3.9.0
include
geos
noding
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
public
:
39
40
SegmentSetMutualIntersector
()
41
: segInt(
nullptr
)
42
{}
43
44
virtual
45
~
SegmentSetMutualIntersector
() {}
46
54
void
55
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
geos
Basic namespace for all GEOS functionalities.
Definition:
IndexedNestedRingTester.h:26
geos::noding::SegmentSetMutualIntersector::setSegmentIntersector
void setSegmentIntersector(SegmentIntersector *si)
Definition:
SegmentSetMutualIntersector.h:55
geos::noding::SegmentSetMutualIntersector::setBaseSegments
virtual void setBaseSegments(SegmentString::ConstVect *segStrings)=0
geos::noding::SegmentIntersector
Processes possible intersections detected by a Noder.
Definition:
noding/SegmentIntersector.h:48
geos::noding::SegmentSetMutualIntersector
An intersector for the red-blue intersection problem.
Definition:
SegmentSetMutualIntersector.h:37
geos::noding::SegmentSetMutualIntersector::process
virtual void process(SegmentString::ConstVect *segStrings)=0
Generated by
1.8.20