Packagecom.yogurt3d.core.helpers.boundingvolumes
Classpublic class AxisAlignedBoundingBox
InheritanceAxisAlignedBoundingBox Inheritance EngineObject Inheritance Object



Public Properties
 PropertyDefined By
  centerGlobal : Vector3D
[read-only]
AxisAlignedBoundingBox
  centerLocal : Vector3D
[read-only]
AxisAlignedBoundingBox
  cornersGlobal : Vector.<Vector3D>
[read-only]
AxisAlignedBoundingBox
  cornersLocal : Vector.<Vector3D>
[read-only]
AxisAlignedBoundingBox
  halfSizeGlobal : Vector3D
[read-only]
AxisAlignedBoundingBox
  halfSizeLocal : Vector3D
[read-only]
AxisAlignedBoundingBox
  initialMax : Vector3D
[read-only]
AxisAlignedBoundingBox
  initialMin : Vector3D
[read-only]
AxisAlignedBoundingBox
  maxGlobal : Vector3D
[read-only]
AxisAlignedBoundingBox
  maxLocal : Vector3D
[read-only]
AxisAlignedBoundingBox
  minGlobal : Vector3D
[read-only]
AxisAlignedBoundingBox
  minLocal : Vector3D
[read-only]
AxisAlignedBoundingBox
  sizeGlobal : Vector3D
[read-only]
AxisAlignedBoundingBox
  sizeLocal : Vector3D
[read-only]
AxisAlignedBoundingBox
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
Public Methods
 MethodDefined By
  
AxisAlignedBoundingBox(_min:Vector3D, _max:Vector3D, _trans:Transformation = null)
AxisAlignedBoundingBox
  
[override]
AxisAlignedBoundingBox
 Inherited
dispose():void
Removes all external referances and clears internals.
EngineObject
 Inherited
EngineObject
 Inherited
disposeGPU():void
EngineObject
 Inherited
Removes all external referances and clears internals.
EngineObject
  
AxisAlignedBoundingBox
  
AxisAlignedBoundingBox
  
AxisAlignedBoundingBox
 Inherited
renew():void
Renews object internals and resets properties of object.
EngineObject
  
setInitialMinMax(_min:Vector3D, _max:Vector3D, _trans:Transformation):void
AxisAlignedBoundingBox
 Inherited
toString():String
Returns a string identifier on this object
EngineObject
  
update():void
AxisAlignedBoundingBox
  
updateCenterHalf(_updateGlobally:Boolean = true):void
AxisAlignedBoundingBox
  
AxisAlignedBoundingBox
  
AxisAlignedBoundingBox
  
updateMinMax(_updateGlobally:Boolean = true):void
AxisAlignedBoundingBox
Protected Methods
 MethodDefined By
  
[override]
AxisAlignedBoundingBox
  
[override]
AxisAlignedBoundingBox
Property Detail
centerGlobalproperty
centerGlobal:Vector3D  [read-only]


Implementation
    public function get centerGlobal():Vector3D
centerLocalproperty 
centerLocal:Vector3D  [read-only]


Implementation
    public function get centerLocal():Vector3D
cornersGlobalproperty 
cornersGlobal:Vector.<Vector3D>  [read-only]


Implementation
    public function get cornersGlobal():Vector.<Vector3D>
cornersLocalproperty 
cornersLocal:Vector.<Vector3D>  [read-only]


Implementation
    public function get cornersLocal():Vector.<Vector3D>
halfSizeGlobalproperty 
halfSizeGlobal:Vector3D  [read-only]


Implementation
    public function get halfSizeGlobal():Vector3D
halfSizeLocalproperty 
halfSizeLocal:Vector3D  [read-only]


Implementation
    public function get halfSizeLocal():Vector3D
initialMaxproperty 
initialMax:Vector3D  [read-only]


Implementation
    public function get initialMax():Vector3D
initialMinproperty 
initialMin:Vector3D  [read-only]


Implementation
    public function get initialMin():Vector3D
m_centerGlobalproperty 
YOGURT3D_INTERNAL var m_centerGlobal:Vector3D

m_centerHalfDirtyGlobalproperty 
YOGURT3D_INTERNAL var m_centerHalfDirtyGlobal:Boolean = true

m_centerHalfDirtyLocalproperty 
YOGURT3D_INTERNAL var m_centerHalfDirtyLocal:Boolean = true

m_centerInitialproperty 
YOGURT3D_INTERNAL var m_centerInitial:Vector3D

m_centerLocalproperty 
YOGURT3D_INTERNAL var m_centerLocal:Vector3D

m_cornersDirtyGlobalproperty 
YOGURT3D_INTERNAL var m_cornersDirtyGlobal:Boolean = true

m_cornersDirtyLocalproperty 
YOGURT3D_INTERNAL var m_cornersDirtyLocal:Boolean = true

m_cornersGlobalproperty 
YOGURT3D_INTERNAL var m_cornersGlobal:Vector.<Vector3D>

m_cornersLocalproperty 
YOGURT3D_INTERNAL var m_cornersLocal:Vector.<Vector3D>

m_halfSizeGlobalproperty 
YOGURT3D_INTERNAL var m_halfSizeGlobal:Vector3D

m_halfSizeInitialproperty 
YOGURT3D_INTERNAL var m_halfSizeInitial:Vector3D

m_halfSizeLocalproperty 
YOGURT3D_INTERNAL var m_halfSizeLocal:Vector3D

m_maxGlobalproperty 
YOGURT3D_INTERNAL var m_maxGlobal:Vector3D

m_maxInitialproperty 
YOGURT3D_INTERNAL var m_maxInitial:Vector3D

m_maxLocalproperty 
YOGURT3D_INTERNAL var m_maxLocal:Vector3D

m_minGlobalproperty 
YOGURT3D_INTERNAL var m_minGlobal:Vector3D

m_minInitialproperty 
YOGURT3D_INTERNAL var m_minInitial:Vector3D

m_minLocalproperty 
YOGURT3D_INTERNAL var m_minLocal:Vector3D

m_minMaxDirtyGlobalproperty 
YOGURT3D_INTERNAL var m_minMaxDirtyGlobal:Boolean = true

m_minMaxDirtyLocalproperty 
YOGURT3D_INTERNAL var m_minMaxDirtyLocal:Boolean = true

m_sizeGlobalproperty 
YOGURT3D_INTERNAL var m_sizeGlobal:Vector3D

m_sizeInitialproperty 
YOGURT3D_INTERNAL var m_sizeInitial:Vector3D

m_sizeLocalproperty 
YOGURT3D_INTERNAL var m_sizeLocal:Vector3D

maxGlobalproperty 
maxGlobal:Vector3D  [read-only]


Implementation
    public function get maxGlobal():Vector3D
maxLocalproperty 
maxLocal:Vector3D  [read-only]


Implementation
    public function get maxLocal():Vector3D
minGlobalproperty 
minGlobal:Vector3D  [read-only]


Implementation
    public function get minGlobal():Vector3D
minLocalproperty 
minLocal:Vector3D  [read-only]


Implementation
    public function get minLocal():Vector3D
sizeGlobalproperty 
sizeGlobal:Vector3D  [read-only]


Implementation
    public function get sizeGlobal():Vector3D
sizeLocalproperty 
sizeLocal:Vector3D  [read-only]


Implementation
    public function get sizeLocal():Vector3D
Constructor Detail
AxisAlignedBoundingBox()Constructor
public function AxisAlignedBoundingBox(_min:Vector3D, _max:Vector3D, _trans:Transformation = null)



Parameters
_min:Vector3D
 
_max:Vector3D
 
_trans:Transformation (default = null)
Method Detail
clone()method
override public function clone():IEngineObject

Returns
IEngineObject
initInternals()method 
override protected function initInternals():void

intersectAABBGlobal()method 
public function intersectAABBGlobal(_aabb:AxisAlignedBoundingBox):Boolean

Parameters

_aabb:AxisAlignedBoundingBox

Returns
Boolean
intersectAABBLocal()method 
public function intersectAABBLocal(_aabb:AxisAlignedBoundingBox):Boolean

Parameters

_aabb:AxisAlignedBoundingBox

Returns
Boolean
merge()method 
public function merge(_aabb:AxisAlignedBoundingBox):void

Parameters

_aabb:AxisAlignedBoundingBox

setInitialMinMax()method 
public function setInitialMinMax(_min:Vector3D, _max:Vector3D, _trans:Transformation):void

Parameters

_min:Vector3D
 
_max:Vector3D
 
_trans:Transformation

trackObject()method 
override protected function trackObject():void

update()method 
public function update():void

updateCenterHalf()method 
public function updateCenterHalf(_updateGlobally:Boolean = true):void

Parameters

_updateGlobally:Boolean (default = true)

updateGlobal()method 
public function updateGlobal():void

updateLocal()method 
public function updateLocal():void

updateMinMax()method 
public function updateMinMax(_updateGlobally:Boolean = true):void

Parameters

_updateGlobally:Boolean (default = true)