| 52 | } |
| 53 | |
| 54 | size_t get_opposite_vertex(const Vector3I& f, const Vector2I& e) { |
| 55 | if (f[0] != e[0] && f[0] != e[1]) return f[0]; |
| 56 | if (f[1] != e[0] && f[1] != e[1]) return f[1]; |
| 57 | if (f[2] != e[0] && f[2] != e[1]) return f[2]; |
| 58 | throw RuntimeError("Face must be topologically degnerated!"); |
| 59 | } |
| 60 | |
| 61 | std::vector<Box> get_triangle_bboxes( |
| 62 | const SelfIntersection::Points& pts, const MatrixIr& faces) { |
no test coverage detected