Packageidv.cjcat.stardust.threeD.deflectors
Classpublic class Deflector3D
InheritanceDeflector3D Inheritance StardustElement
SubclassesBoundingCube, BoundingSphere, PlaneDeflector, SphereDeflector, WrappingCube

Used along with the Deflect3D action.

See also

idv.cjcat.stardust.threeD.actions.Deflect3D


Public Properties
 PropertyDefined by
  active : Boolean
Deflector3D
  bounce : Number
Deflector3D
 Inheritedname : String
StardustElement
Public Methods
 MethodDefined by
  
Deflector3D
  
Deflector3D
  
Deflector3D
 Inherited
[Abstract Method] Returns the related objects of the element.
StardustElement
 Inherited
getXMLTag():XML
Returns the root tag of the XML representation.
StardustElement
  
getXMLTagName():String
Deflector3D
  
parseXML(xml:XML, builder:XMLBuilder = null):void
Deflector3D
  
toXML():XML
Deflector3D
Protected Methods
 MethodDefined by
  
[Abstract Method] Returns a MotionData6D object representing the deflected position and velocity coordinates for a particle.
Deflector3D
Property detail
activeproperty
public var active:Boolean
bounceproperty 
public var bounce:Number
Constructor detail
Deflector3D()constructor
public function Deflector3D()
Method detail
calculateMotionData6D()method
protected function calculateMotionData6D(particle:Particle3D):MotionData6D

[Abstract Method] Returns a MotionData6D object representing the deflected position and velocity coordinates for a particle. Returns null if no deflection occured. A non-null value can trigger the DeflectorTrigger3D action trigger.

Parameters
particle:Particle3D

Returns
MotionData6D

See also

getElementTypeXMLTag()method 
public override function getElementTypeXMLTag():XML

Returns
XML
getMotionData6D()method 
public final function getMotionData6D(particle:Particle3D):MotionData6DParameters
particle:Particle3D

Returns
MotionData6D
getXMLTagName()method 
public override function getXMLTagName():String

Returns
String
parseXML()method 
public override function parseXML(xml:XML, builder:XMLBuilder = null):voidParameters
xml:XML
 
builder:XMLBuilder (default = null)
toXML()method 
public override function toXML():XML

Returns
XML