NURBSCurve class
NURBS curve object
Derives from Curve, overriding getPoint and getTangent.
Implementation is based on (x, y [, z=0 , w=1
]) control points with w=weight.
- Inheritance
-
- Object
- Curve
- NURBSCurve
Constructors
- NURBSCurve(dynamic degree, dynamic knots, dynamic controlPoints, dynamic startKnot, dynamic endKnot)
Properties
- arcLengthDivisions ↔ num
-
getter/setter pairinherited
- autoClose ↔ bool
-
getter/setter pairinherited
-
cacheArcLengths
↔ List<
num> ? -
getter/setter pairinherited
-
cacheLengths
↔ List<
num> ? -
getter/setter pairinherited
- controlPoints ↔ List
-
getter/setter pair
- currentPoint ↔ Vector2
-
getter/setter pairinherited
-
curves
↔ List<
Curve> -
getter/setter pairinherited
- degree ↔ dynamic
-
getter/setter pair
- endKnot ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCubicBezierCurve ↔ bool
-
getter/setter pairinherited
- isEllipseCurve ↔ bool
-
getter/setter pairinherited
- isLineCurve ↔ bool
-
getter/setter pairinherited
- isLineCurve3 ↔ bool
-
getter/setter pairinherited
- isQuadraticBezierCurve ↔ bool
-
getter/setter pairinherited
- isSplineCurve ↔ bool
-
getter/setter pairinherited
- knots ↔ dynamic
-
getter/setter pair
- needsUpdate ↔ bool
-
getter/setter pairinherited
- points ↔ List
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startKnot ↔ int
-
getter/setter pair
- type ↔ String
-
getter/setter pairinherited
-
userData
↔ Map<
String, dynamic> -
getter/setter pairinherited
- v0 ↔ Vector2
-
getter/setter pairinherited
- v1 ↔ Vector2
-
getter/setter pairinherited
- v2 ↔ Vector2
-
getter/setter pairinherited
Methods
-
clone(
) → dynamic -
inherited
-
computeFrenetFrames(
dynamic segments, dynamic closed) → dynamic -
inherited
-
copy(
dynamic source) → dynamic -
inherited
-
fromJSON(
dynamic json) → Curve -
inherited
-
getLength(
) → dynamic -
inherited
-
getLengths(
dynamic divisions) → dynamic -
inherited
-
getPoint(
num t, dynamic optionalTarget) → dynamic -
override
-
getPointAt(
dynamic u, dynamic optionalTarget) → dynamic -
inherited
-
getPoints(
[num divisions = 5]) → dynamic -
inherited
-
getSpacedPoints(
[num divisions = 5, num offset = 0]) → dynamic -
inherited
-
getTangent(
dynamic t, [dynamic optionalTarget]) → dynamic -
override
-
getTangentAt(
dynamic u, dynamic optionalTarget) → dynamic -
inherited
-
getUtoTmapping(
dynamic u, [dynamic distance]) → dynamic -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateArcLengths(
) → dynamic -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited