| 36 | } |
| 37 | |
| 38 | bool IsPointInsideTriangles(PointD const & pt, std::vector<TriangleD> const & v) |
| 39 | { |
| 40 | return std::any_of(v.begin(), v.end(), |
| 41 | [&pt](TriangleD const & t) { return IsPointInsideTriangle(pt, t.p1(), t.p2(), t.p3()); }); |
| 42 | } |
| 43 | |
| 44 | PointD GetRandomPointInsideTriangle(TriangleD const & t) |
| 45 | { |
no test coverage detected