Coverage Report

Created: 2025-12-14 06:52

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/geos/src/operation/overlayng/EdgeSourceInfo.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
#include <geos/operation/overlayng/EdgeSourceInfo.h>
16
17
namespace geos {      // geos
18
namespace operation { // geos.operation
19
namespace overlayng { // geos.operation.overlayng
20
21
22
EdgeSourceInfo::EdgeSourceInfo(uint8_t p_index, int p_depthDelta, bool p_isHole)
23
543k
    : index(p_index)
24
543k
    , dim(geom::Dimension::A)
25
543k
    , edgeIsHole(p_isHole)
26
543k
    , depthDelta(p_depthDelta)
27
543k
    {}
28
29
EdgeSourceInfo::EdgeSourceInfo(uint8_t p_index)
30
2.31M
    : index(p_index)
31
2.31M
    , dim(geom::Dimension::L)
32
2.31M
    , edgeIsHole(false)
33
2.31M
    , depthDelta(0)
34
2.31M
    {}
35
36
37
} // namespace geos.operation.overlayng
38
} // namespace geos.operation
39
} // namespace geos