Functions | |
| check (label, ok) | |
Variables | |
| ws | |
| r | |
| S = Stadium(ws, r) | |
| P = S.perimeter | |
| x | |
| y | |
| s = np.linspace(0.0, P, 20001) | |
| seg = np.hypot(np.diff(x), np.diff(y)) | |
| int | ds = P / 20000 |
| d = S.distance(x, y) | |
| nx | |
| ny | |
| int | eps = 1e-6 |
| tx | |
| ty | |
| mx | |
| my | |
| x1 | |
| y1 | |
| x2 | |
| y2 | |
| C = Stadium(0.0, 1.0) | |
| bool | ok = False |
Stadium map: closure, the four junction points, arc-length parameter- ization, outward normals and the signed distance.
| check | ( | label, | |
| ok ) |
| rutherford.tests.test_stadium.C = Stadium(0.0, 1.0) |
| int rutherford.tests.test_stadium.ds = P / 20000 |
| int rutherford.tests.test_stadium.eps = 1e-6 |
| rutherford.tests.test_stadium.mx |
| rutherford.tests.test_stadium.my |
| rutherford.tests.test_stadium.nx |
| rutherford.tests.test_stadium.ny |
| bool ok = False |
| rutherford.tests.test_stadium.P = S.perimeter |
| rutherford.tests.test_stadium.r |
| rutherford.tests.test_stadium.s = np.linspace(0.0, P, 20001) |
| rutherford.tests.test_stadium.tx |
| rutherford.tests.test_stadium.ty |
| rutherford.tests.test_stadium.ws |
| rutherford.tests.test_stadium.x |
| rutherford.tests.test_stadium.x1 |
| rutherford.tests.test_stadium.x2 |
| rutherford.tests.test_stadium.y |
| rutherford.tests.test_stadium.y1 |
| rutherford.tests.test_stadium.y2 |