Available on crate feature
curve
only.Expand description
Adaptors used by the Curve API for transforming and combining curves together.
Structs§
- Chain
Curve - The curve that results from chaining one curve with another. The second curve is effectively reparametrized so that its start is at the end of the first.
- Constant
Curve - A curve with a constant value over its domain.
- Continuation
Curve - The curve that results from chaining two curves.
- Curve
Reparam Curve - A curve that has been reparametrized by another curve, using that curve to transform the
sample times before sampling. Curves of this type are produced by
Curve::reparametrize_by_curve
. - Forever
Curve - The curve that results from repeating a curve forever.
- Function
Curve - A curve defined by a function together with a fixed domain.
- Graph
Curve - A curve that is the graph of another curve over its parameter space. Curves of this type are
produced by
Curve::graph
. - Linear
Reparam Curve - A curve that has had its domain changed by a linear reparametrization (stretching and scaling).
Curves of this type are produced by
Curve::reparametrize_linear
. - MapCurve
- A curve whose samples are defined by mapping samples from another curve through a
given function. Curves of this type are produced by
Curve::map
. - Ping
Pong Curve - The curve that results from chaining a curve with its reversed version. The transition point is guaranteed to make no jump.
- Reparam
Curve - A curve whose sample space is mapped onto that of some base curve’s before sampling.
Curves of this type are produced by
Curve::reparametrize
. - Repeat
Curve - The curve that results from repeating a curve
N
times. - Reverse
Curve - The curve that results from reversing another.
- ZipCurve
- A curve that combines the output data from two constituent curves into a tuple output. Curves
of this type are produced by
Curve::zip
.