Packageaway3d.core.utils
Classpublic class BezierUtils

Public Methods
 MethodDefined by
  
BezierUtils
  
[static]
BezierUtils
  
getArcLengthArray(command:PathCommand, delta:Number):Array
[static]
BezierUtils
  
[static]
BezierUtils
  
getDerivativeAt(t:Number, command:PathCommand):Number3D
[static]
BezierUtils
  
[static]
BezierUtils
  
splitPathCommand(command:PathCommand):Array
[static]
BezierUtils
Constructor detail
BezierUtils()constructor
public function BezierUtils() Init Parameters
Method detail
createControlPointForLine()method
public static function createControlPointForLine(line:PathCommand):void Parameters
line:PathCommand
getArcLengthArray()method 
public static function getArcLengthArray(command:PathCommand, delta:Number):Array Parameters
command:PathCommand
 
delta:Number

Returns
Array
getCoordinatesAt()method 
public static function getCoordinatesAt(t:Number, command:PathCommand):Number3D Parameters
t:Number
 
command:PathCommand

Returns
Number3D
getDerivativeAt()method 
public static function getDerivativeAt(t:Number, command:PathCommand):Number3D Parameters
t:Number
 
command:PathCommand

Returns
Number3D
getMidPoint()method 
public static function getMidPoint(p1:Number3D, p2:Number3D):Number3D Parameters
p1:Number3D
 
p2:Number3D

Returns
Number3D
splitPathCommand()method 
public static function splitPathCommand(command:PathCommand):Array Parameters
command:PathCommand

Returns
Array
Wiki link
Click to go to the wiki page for 'away3d.core.utils.BezierUtils'

Code examples

Comments