| 25 | return c; |
| 26 | } |
| 27 | Contours2f getTestCont2() |
| 28 | { |
| 29 | Contours2f c; |
| 30 | //simple case |
| 31 | c.push_back( { {1.f,2.f},{1.f,3.f} ,{4.f,3.f},{4.f,2.f},{1.f,2.f} } ); |
| 32 | |
| 33 | // a bit more complicated... |
| 34 | // should be clockwise |
| 35 | //c.push_back( { {0.f,5.f},{1.f,1.f},{5.f,0.f} } ); |
| 36 | //c.push_back( { {4.f,0.f},{4.f,4.f},{0.f,5.f} } ); |
| 37 | return c; |
| 38 | } |
| 39 | TEST( MRMesh, DistanceMapBoolean2D ) |
| 40 | { |
| 41 | auto c1 = getTestCont1(); |