| elseif ((wv.second->incident_c_edges.front() == wv.second->incident_t_edges.front() |
| && wv.second->incident_c_edges.back() == wv.second->incident_t_edges.back()) |
| || (wv.second->incident_c_edges.front() == wv.second->incident_t_edges.back() |
| && wv.second->incident_c_edges.back() == wv.second->incident_t_edges.front())) |
| if (v.incident_c_edges[0] ==v.incident_t_edges[0] andv.incident_c_edges[1] ==v.incident_t_edges[1]) \ |
| or (v.incident_c_edges[0] ==v.incident_t_edges[1] andv.incident_c_edges[1] ==v.incident_t_edges[0]): |
Just check format mask, whether set for both formats, shouldn't matter whether incident_c_edges or incident_t_edges.
3 Python, 6 C++
DataProcessing/siteupdate/cplusplus/classes/GraphGeneration/HighwayGraph.cpp
Lines 132 to 135 in 0100297
DataProcessing/siteupdate/python-teresco/siteupdate.py
Lines 1633 to 1634 in 0100297
Just check format mask, whether set for both formats, shouldn't matter whether
incident_c_edgesorincident_t_edges.3 Python, 6 C++