PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\math\AxisAlignedBB Class Reference
+ Collaboration diagram for pocketmine\math\AxisAlignedBB:

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)
 

Public Attributes

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

Detailed Description

Definition at line 26 of file AxisAlignedBB.php.


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