| Package | com.degrafa.utilities.math |
| Class | public class CatmullRomUtility |
| Inheritance | CatmullRomUtility CatmullRom |
| Property | Defined by | ||
|---|---|---|---|
| __arcLength : Number | CatmullRomUtility | ||
![]() | __coef : Array | CatmullRom | |
![]() | __index : Number | CatmullRom | |
| __integral : Gauss | CatmullRomUtility | ||
![]() | __invalidate : Boolean | CatmullRom | |
![]() | __isClosed : Boolean | CatmullRom | |
![]() | __knots : Number | CatmullRom | |
![]() | __localParam : Number | CatmullRom | |
| __param : String | CatmullRomUtility | ||
![]() | __prevIndex : Number | CatmullRom | |
![]() | __s : Number | CatmullRom | |
| __spline : CubicSpline | CatmullRomUtility | ||
![]() | __t : Number | CatmullRom | |
![]() | __tangent : String | CatmullRom | |
![]() | __theKnots : Array | CatmullRom | |
![]() | __x : Array | CatmullRom | |
![]() | __xHold : Number | CatmullRom | |
![]() | __y : Array | CatmullRom | |
![]() | __yHold : Number | CatmullRom | |
| Method | Defined by | ||
|---|---|---|---|
|
CatmullRomUtility() - Construct a new Catmull-Rom spline
| CatmullRomUtility | ||
![]() |
addControlPoint(_xCoord:Number, _yCoord:Number):void
addControlPoint - Add a control point
| CatmullRom | |
|
arcLength():Number
arcLength Estimate arc-length of the entire curve by numerical integration
| CatmullRomUtility | ||
|
arcLengthAt(_t:Number):Number
arcLengthAt Return arc-length of curve segment on [0,_t].
| CatmullRomUtility | ||
![]() |
derivative(_x:Number):Number
| CatmullRom | |
![]() |
eval(_x:Number):Number
| CatmullRom | |
![]() |
getCoef(_segment:uint):Object
| CatmullRom | |
![]() |
getControlPoint(_i:uint):Object
| CatmullRom | |
![]() |
getX(_t:Number):Number
getX - Return x-coordinate for a given t
| CatmullRom | |
![]() |
getXPrime(_t:Number):Number
getXPrime - Return dx/dt for a given t
| CatmullRom | |
![]() |
getY(_t:Number):Number
getY - Return y-coordinate for a given t
| CatmullRom | |
![]() |
getYPrime(_t:Number):Number
getYPrime - Return dy/dt for a given t
| CatmullRom | |
|
reset():void
| CatmullRomUtility | ||
![]() |
setOuterPoint(_flag:String, _xCoord:Number, _yCoord:Number):void
setOuterPoint - Add control point outside the knot range
| CatmullRom | |
![]() |
tAtKnot(_k:Number):Number
tAtKnot - Return t-value at a particular knot index
| CatmullRom | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
__closedSplineEndpoints():void
| CatmullRom | |
![]() |
__computeCoef():void
| CatmullRom | |
![]() |
__computeEndpoints():void
| CatmullRom | |
|
__integrand(_t:Number):Number
| CatmullRomUtility | ||
|
__parameterize():void
| CatmullRomUtility | ||
![]() |
__segment():void
| CatmullRom | |
|
__setParam(_t:Number):void
| CatmullRomUtility | ||
| __arcLength | property |
protected var __arcLength:Number
| __integral | property |
protected var __integral:Gauss
| __param | property |
protected var __param:String
| __spline | property |
protected var __spline:CubicSpline
| CatmullRomUtility | () | constructor |
public function CatmullRomUtility()CatmullRomUtility() - Construct a new Catmull-Rom spline
| __integrand | () | method |
protected function __integrand(_t:Number):NumberParameters
_t:Number |
Number |
| __parameterize | () | method |
protected override function __parameterize():void
| __setParam | () | method |
protected override function __setParam(_t:Number):voidParameters
_t:Number |
| arcLength | () | method |
public function arcLength():NumberarcLength Estimate arc-length of the entire curve by numerical integration
ReturnsNumber — Number: Estimate of total arc length of the spline over [0,1]
|
| arcLengthAt | () | method |
public function arcLengthAt(_t:Number):NumberarcLengthAt Return arc-length of curve segment on [0,_t].
Parameters_t:Number — - parameter value to describe partial curve whose arc-length is desired
|
Number — Number: Estimate of arc length of curve segment from t=0 to t=_t.
|
| reset | () | method |
public override function reset():void