(self)
| 5632 | ) |
| 5633 | |
| 5634 | def test_distance(self): |
| 5635 | |
| 5636 | w1 = Face.makePlane(2, 2).Wires()[0] |
| 5637 | w2 = Face.makePlane(1, 1).Wires()[0] |
| 5638 | w3 = Face.makePlane(3, 3).Wires()[0] |
| 5639 | |
| 5640 | d12 = w1.distance(w2) |
| 5641 | |
| 5642 | assert d12 == approx(0.5) |
| 5643 | |
| 5644 | d12, d13 = w1.distances(w2, w3) |
| 5645 | |
| 5646 | assert d12 == approx(0.5) |
| 5647 | assert d13 == approx(0.5) |
| 5648 | |
| 5649 | def test_project(self): |
| 5650 |