PocketMine
AxisAlignedBB Class Reference

Public Member Functions

 __construct ($minX, $minY, $minZ, $maxX, $maxY, $maxZ)
 
 setBounds ($minX, $minY, $minZ, $maxX, $maxY, $maxZ)
 
 addCoord ($x, $y, $z)
 
 grow ($x, $y, $z)
 
 expand ($x, $y, $z)
 
 offset ($x, $y, $z)
 
 shrink ($x, $y, $z)
 
 contract ($x, $y, $z)
 
 setBB (AxisAlignedBB $bb)
 
 getOffsetBoundingBox ($x, $y, $z)
 
 calculateXOffset (AxisAlignedBB $bb, $x)
 
 calculateYOffset (AxisAlignedBB $bb, $y)
 
 calculateZOffset (AxisAlignedBB $bb, $z)
 
 intersectsWith (AxisAlignedBB $bb)
 
 isVectorInside (Vector3 $vector)
 
 getAverageEdgeLength ()
 
 isVectorInYZ (Vector3 $vector)
 
 isVectorInXZ (Vector3 $vector)
 
 isVectorInXY (Vector3 $vector)
 
 calculateIntercept (Vector3 $pos1, Vector3 $pos2)
 
 __toString ()
 

Data Fields

 $minX
 
 $minY
 
 $minZ
 
 $maxX
 
 $maxY
 
 $maxZ
 

The documentation for this class was generated from the following file: