Coverage Report

Created: 2025-07-17 06:34

/src/geos/src/operation/relateng/EdgeSegmentOverlapAction.cpp
Line
Count
Source (jump to first uncovered line)
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
#include <geos/index/chain/MonotoneChainOverlapAction.h>
20
#include <geos/index/chain/MonotoneChain.h>
21
#include <geos/noding/SegmentString.h>
22
#include <geos/noding/SegmentIntersector.h>
23
#include <geos/operation/relateng/EdgeSegmentOverlapAction.h>
24
#include <geos/geom/Envelope.h>
25
#include <geos/geom/LineSegment.h>
26
#include <geos/profiler.h>
27
28
//#include <stdio.h>
29
30
using geos::index::chain::MonotoneChain;
31
using geos::noding::SegmentString;
32
using geos::noding::SegmentIntersector;
33
34
namespace geos {
35
namespace operation { // geos.operation
36
namespace relateng {  // geos.operation.relateng
37
38
39
/* public override */
40
void
41
EdgeSegmentOverlapAction::overlap(
42
    const MonotoneChain& mc1, std::size_t start1,
43
    const MonotoneChain& mc2, std::size_t start2)
44
0
{
45
0
    SegmentString* ss1 = static_cast<SegmentString*>(mc1.getContext());
46
0
    SegmentString* ss2 = static_cast<SegmentString*>(mc2.getContext());
47
0
    si.processIntersections(ss1, start1, ss2, start2);
48
0
}
49
50
51
} // namespace geos.index.chain
52
} // namespace geos.index
53
} // namespace geos