Packageaway3d.core.utils
Classpublic class BezierUtils

Public Methods
 MethodDefined by
  
BezierUtils
  
[static]
BezierUtils
  
getArcLengthArray(command:PathCommand, delta:Number):Vector
[static]
BezierUtils
  
getCoordinatesAt(t:Number, command:PathCommand):Vector3D
[static]
BezierUtils
  
getDerivativeAt(t:Number, command:PathCommand):Vector3D
[static]
BezierUtils
  
getMidPoint(p1:Vector3D, p2:Vector3D):Vector3D
[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):Vector Parameters
command:PathCommand
 
delta:Number

Returns
Vector
getCoordinatesAt()method 
public static function getCoordinatesAt(t:Number, command:PathCommand):Vector3D Parameters
t:Number
 
command:PathCommand

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

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

Returns
Vector3D
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