Packagecom.degrafa.utilities.math
Classpublic class CardSpline
InheritanceCardSpline Inheritance CatmullRom
ImplementsIPlottableSpline



Public Properties
 PropertyDefined by
 Inheritedclosed : Boolean
CatmullRom
 Inheritedknots : Array
CatmullRom
 Inheritedtangent : String
CatmullRom
  tension : Number
[write-only]
CardSpline
 Inheritedtype : String
CatmullRom
Protected Properties
 PropertyDefined by
  __a : Number
CardSpline
 Inherited__coef : Array
CatmullRom
 Inherited__index : Number
CatmullRom
 Inherited__invalidate : Boolean
CatmullRom
 Inherited__isClosed : Boolean
CatmullRom
 Inherited__knots : Number
CatmullRom
 Inherited__localParam : Number
CatmullRom
 Inherited__prevIndex : Number
CatmullRom
 Inherited__s : Number
CatmullRom
 Inherited__t : Number
CatmullRom
 Inherited__tangent : String
CatmullRom
  __tension : Number
CardSpline
 Inherited__theKnots : Array
CatmullRom
 Inherited__x : Array
CatmullRom
 Inherited__xHold : Number
CatmullRom
 Inherited__y : Array
CatmullRom
 Inherited__yHold : Number
CatmullRom
Public Methods
 MethodDefined by
  
CardSpline() - Construct a new cardinal spline
CardSpline
 Inherited
addControlPoint(_xCoord:Number, _yCoord:Number):void
addControlPoint - Add a control point
CatmullRom
 Inherited
derivative(_x:Number):Number
CatmullRom
 Inherited
eval(_x:Number):Number
CatmullRom
 Inherited
getCoef(_segment:uint):Object
CatmullRom
 Inherited
getControlPoint(_i:uint):Object
CatmullRom
  
getX(_t:Number):Number
CardSpline
  
getXPrime(_t:Number):Number
CardSpline
  
getY(_t:Number):Number
CardSpline
  
getYPrime(_t:Number):Number
CardSpline
 Inherited
reset():void
reset - Remove all control points and initialize spline for new control point entry
CatmullRom
 Inherited
setOuterPoint(_flag:String, _xCoord:Number, _yCoord:Number):void
setOuterPoint - Add control point outside the knot range
CatmullRom
 Inherited
tAtKnot(_k:Number):Number
tAtKnot - Return t-value at a particular knot index
CatmullRom
Protected Methods
 MethodDefined by
 Inherited
CatmullRom
  
CardSpline
 Inherited
CatmullRom
 Inherited
CatmullRom
 Inherited
__segment():void
CatmullRom
 Inherited
__setParam(_t:Number):void
CatmullRom
Public Constants
 ConstantDefined by
 InheritedARC_LENGTH : String = "arclength"
[static]
CatmullRom
 InheritedAUTO : String = "auto"
[static]
CatmullRom
 InheritedEXPLICIT : String = "explicit"
[static]
CatmullRom
 InheritedFIRST : String = "first"
[static]
CatmullRom
 InheritedLAST : String = "last"
[static]
CatmullRom
 InheritedUNIFORM : String = "uniform"
[static]
CatmullRom
Property detail
__aproperty
protected var __a:Number
__tensionproperty 
protected var __tension:Number
tensionproperty 
tension:Number  [write-only]Implementation
    public function set tension(value:Number):void
Constructor detail
CardSpline()constructor
public function CardSpline()

CardSpline() - Construct a new cardinal spline

Method detail
__computeCoef()method
protected override function __computeCoef():void
getX()method 
public override function getX(_t:Number):Number

Parameters
_t:Number

Returns
Number
getXPrime()method 
public override function getXPrime(_t:Number):Number

Parameters
_t:Number

Returns
Number
getY()method 
public override function getY(_t:Number):Number

Parameters
_t:Number

Returns
Number
getYPrime()method 
public override function getYPrime(_t:Number):Number

Parameters
_t:Number

Returns
Number