Packageaway3d.paths
Classpublic class QuadraticPathSegment
InheritanceQuadraticPathSegment Inheritance Object
Implements IPathSegment

Creates a curved line segment definition required for the Path class.



Public Properties
 PropertyDefined By
  control : Vector3D
Defines the control vector of the PathSegment
QuadraticPathSegment
  end : Vector3D
Defines the control vector of the PathSegment
QuadraticPathSegment
  start : Vector3D
Defines the first vector of the PathSegment
QuadraticPathSegment
Public Methods
 MethodDefined By
  
QuadraticPathSegment(pStart:Vector3D, pControl:Vector3D, pEnd:Vector3D)
QuadraticPathSegment
  
dispose():void
nulls the 3 vectors
QuadraticPathSegment
  
getPointOnSegment(t:Number, target:Vector3D = null):Vector3D
QuadraticPathSegment
  
toString():String
QuadraticPathSegment
Property Detail
controlproperty
public var control:Vector3D

Defines the control vector of the PathSegment

endproperty 
public var end:Vector3D

Defines the control vector of the PathSegment

startproperty 
public var start:Vector3D

Defines the first vector of the PathSegment

Constructor Detail
QuadraticPathSegment()Constructor
public function QuadraticPathSegment(pStart:Vector3D, pControl:Vector3D, pEnd:Vector3D)



Parameters
pStart:Vector3D
 
pControl:Vector3D
 
pEnd:Vector3D
Method Detail
dispose()method
public function dispose():void

nulls the 3 vectors

getPointOnSegment()method 
public function getPointOnSegment(t:Number, target:Vector3D = null):Vector3D

Parameters

t:Number
 
target:Vector3D (default = null)

Returns
Vector3D
toString()method 
public function toString():String

Returns
String