Packageaway3d.animators.utils
Classpublic class PathUtils

Geometry handlers for classes using Path objects

Public Methods
 MethodDefined by
  
getNewPoint(x0:Number = 0, y0:Number = 0, z0:Number = 0, aX:Number = 0, aY:Number = 0, aZ:Number = 0, x1:Number = 0, y1:Number = 0, z1:Number = 0, t:Number = 0):Vector3D
[static]
PathUtils
  
getPointsOnCurve(_path:Path, subdivision:int):Array
[static]
PathUtils
  
getSegmentPoints(pStart:Vector3D, pControl:Vector3D, pEnd:Vector3D, n:Number, last:Boolean):Array
[static]
PathUtils
  
rotatePoint(aPoint:Vector3D, rotation:Vector3D):Vector3D
[static]
PathUtils
  
step(startVal:Vector3D, endVal:Vector3D, subdivision:int):Array
[static]
PathUtils
Method detail
getNewPoint()method
public static function getNewPoint(x0:Number = 0, y0:Number = 0, z0:Number = 0, aX:Number = 0, aY:Number = 0, aZ:Number = 0, x1:Number = 0, y1:Number = 0, z1:Number = 0, t:Number = 0):Vector3D Parameters
x0:Number (default = 0)
 
y0:Number (default = 0)
 
z0:Number (default = 0)
 
aX:Number (default = 0)
 
aY:Number (default = 0)
 
aZ:Number (default = 0)
 
x1:Number (default = 0)
 
y1:Number (default = 0)
 
z1:Number (default = 0)
 
t:Number (default = 0)

Returns
Vector3D
getPointsOnCurve()method 
public static function getPointsOnCurve(_path:Path, subdivision:int):Array Parameters
_path:Path
 
subdivision:int

Returns
Array
getSegmentPoints()method 
public static function getSegmentPoints(pStart:Vector3D, pControl:Vector3D, pEnd:Vector3D, n:Number, last:Boolean):Array Parameters
pStart:Vector3D
 
pControl:Vector3D
 
pEnd:Vector3D
 
n:Number
 
last:Boolean

Returns
Array
rotatePoint()method 
public static function rotatePoint(aPoint:Vector3D, rotation:Vector3D):Vector3D Parameters
aPoint:Vector3D
 
rotation:Vector3D

Returns
Vector3D
step()method 
public static function step(startVal:Vector3D, endVal:Vector3D, subdivision:int):Array Parameters
startVal:Vector3D
 
endVal:Vector3D
 
subdivision:int

Returns
Array
Wiki link
Click to go to the wiki page for 'away3d.animators.utils.PathUtils'

Code examples

Comments