Public Member Functions | |
| __init__ (self, float radius) | |
| position (self, t) | |
| Public Member Functions inherited from corc.curve.Curve | |
| __init__ (self, float tmin, float tmax, nsamples=4096) | |
| np.ndarray | p (self, float t) |
| derivatives (self, float t) | |
| float | speed (self, float t) |
| float | s_of_t (self, float t) |
| float | t_of_s (self, float s) |
Public Attributes | |
| radius = float(radius) | |
| Public Attributes inherited from corc.curve.Curve | |
| tmin = tmin | |
| tmax = tmax | |
| length = float(self._sgrid[-1]) | |
Additional Inherited Members | |
| Static Public Attributes inherited from corc.curve.Curve | |
| bool | closed = False |
| Protected Member Functions inherited from corc.curve.Curve | |
| _build_arclength_table (self, int nsamples) | |
| Protected Attributes inherited from corc.curve.Curve | |
| _tgrid = tgrid | |
| _sgrid = np.concatenate([[0.0], np.cumsum(seg)]) | |
Trefoil knot (closed, show-off only).
| corc.curve.Trefoil.__init__ | ( | self, | |
| float | radius ) |
| corc.curve.Trefoil.position | ( | self, | |
| t ) |
Return [x, y, z] at parameter t; components are Jets if t is a Jet. Subclasses implement this with jet-friendly operations.
Reimplemented from corc.curve.Curve.
| corc.curve.Trefoil.radius = float(radius) |