SineCurve class

Defines a sine curve.

Repeats the sine function count times over a 2 * pi period.

This class was authored by Andrea Bizzotto. Please view the original source here.

Inheritance

Constructors

SineCurve({double count = 3})
Defines a sine curve.
const

Properties

count double
final
flipped Curve
Returns a new curve that is the reversed inversion of this one.
no setterinherited
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.
inherited
transform(double t) double
Returns the value of the curve at point t.
inherited
transformInternal(double t) double
Returns the value of the curve at point t.
override

Operators

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