Coverage Report

Created: 2025-08-30 06:52

/src/geos/src/dissolve/DissolveHalfEdge.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) 2025 Martin Davis
7
 * Copyright (C) 2025 Paul Ramsey <pramsey@cleverelephant.ca>
8
 *
9
 * This is free software; you can redistribute and/or modify it under
10
 * the terms of the GNU Lesser General Public Licence as published
11
 * by the Free Software Foundation.
12
 * See the COPYING file for more information.
13
 *
14
 **********************************************************************/
15
16
#include <geos/dissolve/DissolveHalfEdge.h>
17
18
namespace geos {      // geos
19
namespace dissolve {  // geos.dissolve
20
21
/**
22
 * Tests whether this edge is the starting segment
23
 * in a LineString being dissolved.
24
 *
25
 * @return true if this edge is a start segment
26
 */
27
bool
28
DissolveHalfEdge::isStart()
29
0
{
30
0
    return m_isStart;
31
0
}
32
33
/**
34
 * Sets this edge to be the start segment of an input LineString.
35
 */
36
void
37
DissolveHalfEdge::setStart()
38
0
{
39
0
    m_isStart = true;
40
0
}
41
42
43
} // namespace geos.dissolve
44
} // namespace geos
45
46