| 53 | } //anonymous namespace |
| 54 | |
| 55 | TEST( MRMesh, TriangleSegmentIntersectFloat ) |
| 56 | { |
| 57 | Vector3f a{2, 1, 0}; |
| 58 | Vector3f b{-2, 1, 0}; |
| 59 | Vector3f c{0, -2, 0}; |
| 60 | |
| 61 | Vector3f d{0, 0, -1}; |
| 62 | Vector3f e{0, 0, 1}; |
| 63 | |
| 64 | bool intersection = doTriangleSegmentIntersect( a, b, c, d, e ); |
| 65 | |
| 66 | EXPECT_TRUE( intersection ); |
| 67 | } |
| 68 | |
| 69 | TEST( MRMesh, PointTriangleIntersectFloat ) |
| 70 | { |
nothing calls this directly
no test coverage detected