GEOS 3.13.1
EdgeSegmentOverlapAction.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2001-2002 Vivid Solutions 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 * Last port: index/chain/MonotoneChainOverlapAction.java rev. 1.6 (JTS-1.10)
16 *
17 **********************************************************************/
18
19#pragma once
20
21#include <geos/export.h>
22#include <geos/geom/LineSegment.h>
23#include <geos/index/chain/MonotoneChainOverlapAction.h>
24
25
26// Forward declarations
27namespace geos {
28namespace index {
29namespace chain {
30 class MonotoneChain;
31}
32}
33namespace noding {
35}
36}
37
38
42
43
44namespace geos {
45namespace operation { // geos::operation
46namespace relateng { // geos::operation::relateng
47
53
54private:
55
57
58
59public:
60
62 : si(p_si)
63 {}
64
65 void overlap(
66 const MonotoneChain& mc1, std::size_t start1,
67 const MonotoneChain& mc2, std::size_t start2) override;
68
69
70};
71
72} // namespace geos::index::chain
73} // namespace geos::index
74} // namespace geos
75
The action for the internal iterator for performing overlap queries on a MonotoneChain.
Definition MonotoneChainOverlapAction.h:42
Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...
Definition index/chain/MonotoneChain.h:85
Processes possible intersections detected by a Noder.
Definition noding/SegmentIntersector.h:45
The action for the internal iterator for performing overlap queries on a MonotoneChain.
Definition EdgeSegmentOverlapAction.h:52
void overlap(const MonotoneChain &mc1, std::size_t start1, const MonotoneChain &mc2, std::size_t start2) override
This function can be overridden if the original chains are needed.
Basic namespace for all GEOS functionalities.
Definition geos.h:39