GCC Code Coverage Report


Directory: ./
File: include/edge.hpp
Date: 2026-12-03 12:28:13
Exec Total Coverage
Lines: 0 14 0.0%
Functions: 0 1 0.0%
Branches: 0 6 0.0%
Decisions: 0 0 -%

Line Branch Decision Exec Source
1 #ifndef EDGE_HPP
2 #define EDGE_HPP
3
4 #include "types.hpp"
5 #include "linalg.hpp"
6
7 class Edge
8 {
9 public:
10
11 int exclude_point;
12
13 double p_cat;
14 double edg_ang_norm;
15 double xy_rotation_angle;
16 double edg_angle;
17 double edg_bend_angle;
18
19 Eigen::Vector2d mid_point;
20 Eigen::Vector2d b;
21 Eigen::Matrix2d a;
22 std::vector<int> dir;
23 Eigen::Vector2d dir_2d;
24 std::vector<int> orientation;
25
26 std::map<int, int> orientation_map;
27 std::map<int, int> exclude_point_map;
28
29 ✗ Edge()
30 ✗ {
31 ✗ exclude_point = 0;
32
33 ✗ p_cat = 0.0;
34 ✗ edg_ang_norm = 0.0;
35 ✗ xy_rotation_angle = 0.0;
36 ✗ edg_angle = 0.0;
37 ✗ edg_bend_angle = 0.0;
38
39 ✗ mid_point << 0.0, 0.0;
40
41 ✗ a << 0.0, 0.0, 0.0, 0.0;
42
43 ✗ b << 0.0, 0.0;
44
45 ✗ orientation.push_back(0);
46 ✗ orientation.push_back(0);
47 ✗ }
48 };
49
50 #endif // EDGE_HPP
51