Packageaway3d.core.utils
Classpublic class BezierUtils
InheritanceBezierUtils Inheritance Object



Public Methods
 MethodDefined By
  
BezierUtils
  
[static]
BezierUtils
  
getArcLengthArray(command:PathCommand, delta:Number):Vector.<Number>
[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
  
[static]
BezierUtils
Constructor Detail
BezierUtils()Constructor
public function BezierUtils()



####INIT####
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.<Number>

Parameters

command:PathCommand
 
delta:Number

Returns
Vector.<Number>
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