Coverage Report

Created: 2025-10-12 06:49

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/geos/src/edgegraph/MarkHalfEdge.cpp
Line
Count
Source
1
/**********************************************************************
2
 *
3
 * GEOS - Geometry Engine Open Source
4
 * http://geos.osgeo.org
5
 *
6
 * Copyright (C) 2020 Paul Ramsey <pramsey@cleverelephant.ca>
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
#ifdef _MSC_VER
16
#pragma warning(disable:4355)
17
#endif
18
19
#include <cassert>
20
#include <string>
21
#include <sstream>
22
23
#include <geos/edgegraph/HalfEdge.h>
24
#include <geos/edgegraph/MarkHalfEdge.h>
25
#include <geos/geom/Coordinate.h>
26
27
namespace geos {
28
namespace edgegraph { // geos.edgegraph
29
30
/*public static*/
31
bool
32
MarkHalfEdge::isMarked(HalfEdge* e)
33
0
{
34
0
    return static_cast<MarkHalfEdge*>(e)->isMarked();
35
0
}
36
37
/*public static*/
38
void
39
MarkHalfEdge::mark(HalfEdge* e)
40
0
{
41
0
    static_cast<MarkHalfEdge*>(e)->mark();
42
0
}
43
44
/*public static*/
45
void
46
MarkHalfEdge::setMark(HalfEdge* e, bool isMarked)
47
0
{
48
0
    static_cast<MarkHalfEdge*>(e)->setMark(isMarked);
49
0
}
50
51
/*public static*/
52
void
53
MarkHalfEdge::setMarkBoth(HalfEdge* e, bool isMarked)
54
0
{
55
0
    static_cast<MarkHalfEdge*>(e)->setMark(isMarked);
56
0
    static_cast<MarkHalfEdge*>(e->sym())->setMark(isMarked);
57
0
}
58
59
/*public static*/
60
void
61
MarkHalfEdge::markBoth(HalfEdge* e)
62
0
{
63
0
    static_cast<MarkHalfEdge*>(e)->mark();
64
0
    static_cast<MarkHalfEdge*>(e->sym())->mark();
65
0
}
66
67
68
69
70
} // namespace geos.edgegraph
71
} // namespace geos