GEOS 3.14.0dev
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 {
34 class SegmentIntersector;
35}
36}
37
38namespace geos {
39namespace operation { // geos::operation
40namespace relateng { // geos::operation::relateng
41
49
50private:
51
53
54
55public:
56
58 : si(p_si)
59 {}
60
61 void overlap(
62 const MonotoneChain& mc1, std::size_t start1,
63 const MonotoneChain& mc2, std::size_t start2) override;
64
65
66};
67
68} // namespace geos::index::chain
69} // namespace geos::index
70} // namespace geos
71
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:46
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