CubicPoly class

Centripetal CatmullRom Curve - which is useful for avoiding cusps and self-intersections in non-uniform catmull rom curves. http://www.cemyuksel.com/research/catmullrom_param/catmullrom.pdf

curve.type accepts centripetal(default), chordal and catmullrom curve.tension is used for catmullrom which defaults to 0.5

Constructors

CubicPoly()

Properties

c0 num
getter/setter pair
c1 num
getter/setter pair
c2 num
getter/setter pair
c3 num
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calc(dynamic t) → dynamic
init(dynamic x0, dynamic x1, dynamic t0, dynamic t1) → dynamic
initCatmullRom(dynamic x0, dynamic x1, dynamic x2, dynamic x3, dynamic tension) → dynamic
initNonuniformCatmullRom(dynamic x0, dynamic x1, dynamic x2, dynamic x3, dynamic dt0, dynamic dt1, dynamic dt2) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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