15 std::vector<const MeshLib::Element*>
const& elements,
21 for (
auto const* e : elements)
23 auto const* nodes = e->getNodes();
26 auto const& a = *nodes[0];
27 auto const& b = *nodes[1];
28 auto const& c = *nodes[2];
29 if (!is_right_of(a, b) && !is_right_of(b, c) && !is_right_of(c, a))
36 auto const& a = *nodes[0];
37 auto const& b = *nodes[1];
38 auto const& c = *nodes[2];
39 auto const& d = *nodes[3];
40 if (!is_right_of(a, b) && !is_right_of(b, c) &&
41 !is_right_of(c, d) && !is_right_of(d, a))