| Package | idv.cjcat.stardust.threeD.zones |
| Class | public class Zone3D |
| Inheritance | Zone3D StardustElement |
| Subclasses | CubeZone, SphereCap, SphereShell, SphereZone, Surface |
| Property | Defined by | ||
|---|---|---|---|
![]() | name : String | StardustElement | |
| rotationX : Number | Zone3D | ||
| rotationY : Number | Zone3D | ||
| rotationZ : Number | Zone3D | ||
| Property | Defined by | ||
|---|---|---|---|
| volume : Number | Zone3D | ||
| Method | Defined by | ||
|---|---|---|---|
|
Zone3D()
| Zone3D | ||
|
[Abstract Method] Returns a
MotionData3D object representing a random point in the zone. | Zone3D | ||
|
contains(x:Number, y:Number, z:Number):Boolean
[Abstract Method] Determins if a point is contained by the zone, true if contained.
| Zone3D | ||
|
getElementTypeXMLTag():XML
| Zone3D | ||
| Zone3D | |||
![]() |
getRelatedObjects():Array
[Abstract Method] Returns the related objects of the element.
| StardustElement | |
|
getVolume():Number
Returns the volume of the zone.
| Zone3D | ||
![]() |
getXMLTag():XML
Returns the root tag of the XML representation.
| StardustElement | |
|
getXMLTagName():String
| Zone3D | ||
|
parseXML(xml:XML, builder:XMLBuilder = null):void
| Zone3D | ||
|
toXML():XML
| Zone3D | ||
| Method | Defined by | ||
|---|---|---|---|
|
updateVolume():void
[Abstract Method] Updates the volume of the zone.
| Zone3D | ||
| rotationX | property |
public var rotationX:Number
| rotationY | property |
public var rotationY:Number
| rotationZ | property |
public var rotationZ:Number
| volume | property |
protected var volume:Number
| Zone3D | () | constructor |
public function Zone3D()
| calculateMotionData3D | () | method |
public function calculateMotionData3D():MotionData3D
[Abstract Method] Returns a MotionData3D object representing a random point in the zone.
MotionData3D |
| contains | () | method |
public function contains(x:Number, y:Number, z:Number):Boolean[Abstract Method] Determins if a point is contained by the zone, true if contained.
Parametersx:Number |
|
y:Number |
|
z:Number |
Boolean |
| getElementTypeXMLTag | () | method |
public override function getElementTypeXMLTag():XML
Returns
XML |
| getPoint | () | method |
| getVolume | () | method |
public final function getVolume():NumberReturns the volume of the zone.
ReturnsNumber |
| 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 |
| updateVolume | () | method |
protected function updateVolume():void[Abstract Method] Updates the volume of the zone.