ParametricCurve<T> class abstract

An abstract class providing an interface for evaluating a parametric curve.

A parametric curve transforms a parameter (hence the name) t along a curve to the value of the curve at that value of t. The curve can be of arbitrary dimension, but is typically a 1D, 2D, or 3D curve.

See also:

  • Curve, a 1D animation easing curve that starts at 0.0 and ends at 1.0.
  • Curve2D, a parametric curve that transforms the parameter to a 2D point.
Implementers

Constructors

ParametricCurve()
Abstract const constructor to enable subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
transform(double t) → T
Returns the value of the curve at point t.
transformInternal(double t) → T
Returns the value of the curve at point t.

Operators

operator ==(Object other) bool
The equality operator.
inherited