IntegralCurve class

A curve that represents the integral of another curve.

The constructor takes an other curve and calculates the integral. The values of this curve are then being normalized onto the interval from 0 to 1, but the integration value can always be obtained using the interval property.

Inheritance

Constructors

IntegralCurve(Curve original)
The constructor that takes the original curve.
factory

Properties

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
integral double
The integral value.
final
original Curve
The original curve that was integrated.
final
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
Transforms a value to the normalized integrated value of the original curve.
override
transformInternal(double t) double
Returns the value of the curve at point t.
inherited

Operators

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

Static Properties

delta double
Delta for integrating.
getter/setter pair