GEOS
3.8.1
include
geos
noding
noding/SegmentIntersector.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
#ifndef GEOS_NODING_SEGMENTINTERSECTOR_H
16
#define GEOS_NODING_SEGMENTINTERSECTOR_H
17
18
#include <cstddef>
19
#include <geos/export.h>
20
21
#include <geos/inline.h>
22
23
// Forward declarations
24
namespace
geos
{
25
namespace
noding {
26
class
SegmentString;
27
}
28
}
29
30
namespace
geos
{
31
namespace
noding {
// geos.noding
32
48
class
GEOS_DLL SegmentIntersector {
49
50
public
:
51
58
virtual
void
processIntersections(
59
SegmentString* e0,
size_t
segIndex0,
60
SegmentString* e1,
size_t
segIndex1) = 0;
61
71
virtual
bool
72
isDone()
const
73
{
74
return
false
;
75
}
76
77
virtual
78
~
SegmentIntersector
()
79
{ }
80
81
protected
:
82
83
SegmentIntersector() {}
84
85
};
86
88
typedef
SegmentIntersector
nodingSegmentIntersector
;
89
90
}
// namespace geos.noding
91
}
// namespace geos
92
93
#endif // GEOS_NODING_SEGMENTINTERSECTOR_H
geos
Basic namespace for all GEOS functionalities.
Definition:
IndexedNestedRingTester.h:24
geos::noding::nodingSegmentIntersector
SegmentIntersector nodingSegmentIntersector
Temporary typedef for namespace transition.
Definition:
noding/SegmentIntersector.h:87
geos::noding::SegmentIntersector
Processes possible intersections detected by a Noder.
Definition:
noding/SegmentIntersector.h:47
Generated by
1.8.16