Classes | |
| class | _Circle |
Functions | |
| check (label, ok) | |
Variables | |
| t = Jet.variable(0.7) | |
| f = jet.sin(3.0 * t) * jet.cos(t) + jet.power(t, 2.5) | |
| float | x = 0.7 |
| float | val = math.sin(3 * x) * math.cos(x) + x ** 2.5 |
| int | d1 = 3 * math.cos(3 * x) * math.cos(x) - math.sin(3 * x) * math.sin(x) + 2.5 * x ** 1.5 |
| tuple | d2 |
| C = _Circle(7.5) | |
| F = Frame(C, nsamples=256) | |
| S = StraightLine(100.0) | |
| FS = Frame(S, nsamples=64) | |
| R0 = FS.R(37.0) | |
| p = FS.transform(12.5, 3.0, -4.0) | |
| L = Lame(76.1, 25, 1.55, order=2) | |
| tt = L.t_of_s(s) | |
| FL = Frame(L, nsamples=512) | |
| prev_n = None | |
| float | worst_orth = 0.0 |
| float | worst_step = 0.0 |
| R = FL.R(float(s)) | |
| det = np.linalg.det(R) | |
| n = R[:, 0] | |
| bool | ok = True |
| T = Trefoil(8.718490620126541) | |
| p0 | |
| pL | |
| FT = Frame(T, nsamples=1024) | |
| _ | |
| v | |
| a | |
| j3 | |
| r = T.radius | |
| va | |
| ja | |
Unit checks for corc.curve and corc.frame (plain asserts, exit 1 on failure): jet arithmetic, curvature of known curves, arc-length round trips, frame orthonormality/continuity, straight-line frame identity.
| check | ( | label, | |
| ok ) |
|
protected |
| corc.tests.test_curve_frame.a |
| corc.tests.test_curve_frame.C = _Circle(7.5) |
| int corc.tests.test_curve_frame.d1 = 3 * math.cos(3 * x) * math.cos(x) - math.sin(3 * x) * math.sin(x) + 2.5 * x ** 1.5 |
| tuple corc.tests.test_curve_frame.d2 |
| corc.tests.test_curve_frame.det = np.linalg.det(R) |
| corc.tests.test_curve_frame.j3 |
| corc.tests.test_curve_frame.ja |
| corc.tests.test_curve_frame.L = Lame(76.1, 25, 1.55, order=2) |
| corc.tests.test_curve_frame.n = R[:, 0] |
| bool ok = True |
| corc.tests.test_curve_frame.p = FS.transform(12.5, 3.0, -4.0) |
| corc.tests.test_curve_frame.p0 |
| corc.tests.test_curve_frame.pL |
| corc.tests.test_curve_frame.prev_n = None |
| corc.tests.test_curve_frame.R = FL.R(float(s)) |
| corc.tests.test_curve_frame.r = T.radius |
| corc.tests.test_curve_frame.R0 = FS.R(37.0) |
| corc.tests.test_curve_frame.S = StraightLine(100.0) |
| corc.tests.test_curve_frame.T = Trefoil(8.718490620126541) |
| corc.tests.test_curve_frame.t = Jet.variable(0.7) |
| float tt = L.t_of_s(s) |
| corc.tests.test_curve_frame.v |
| corc.tests.test_curve_frame.va |
| corc.tests.test_curve_frame.worst_orth = 0.0 |
| corc.tests.test_curve_frame.worst_step = 0.0 |
| float corc.tests.test_curve_frame.x = 0.7 |