PHP 클래스 pocketmine\math\AxisAlignedBB

파일 보기 프로젝트 열기: ClearSkyTeam/ClearSky 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$maxX
$maxY
$maxZ
$minX
$minY
$minZ

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

public __construct ( $minX, $minY, $minZ, $maxX, $maxY, $maxZ )

__toString() 공개 메소드

public __toString ( )

addCoord() 공개 메소드

public addCoord ( $x, $y, $z )

calculateIntercept() 공개 메소드

public calculateIntercept ( Vector3 $pos1, Vector3 $pos2 )
$pos1 Vector3
$pos2 Vector3

calculateXOffset() 공개 메소드

public calculateXOffset ( AxisAlignedBB $bb, $x )
$bb AxisAlignedBB

calculateYOffset() 공개 메소드

public calculateYOffset ( AxisAlignedBB $bb, $y )
$bb AxisAlignedBB

calculateZOffset() 공개 메소드

public calculateZOffset ( AxisAlignedBB $bb, $z )
$bb AxisAlignedBB

contract() 공개 메소드

public contract ( $x, $y, $z )

expand() 공개 메소드

public expand ( $x, $y, $z )

getAverageEdgeLength() 공개 메소드

getOffsetBoundingBox() 공개 메소드

public getOffsetBoundingBox ( $x, $y, $z )

grow() 공개 메소드

public grow ( $x, $y, $z )

intersectsWith() 공개 메소드

public intersectsWith ( AxisAlignedBB $bb )
$bb AxisAlignedBB

isVectorInXY() 공개 메소드

public isVectorInXY ( Vector3 $vector )
$vector Vector3

isVectorInXZ() 공개 메소드

public isVectorInXZ ( Vector3 $vector )
$vector Vector3

isVectorInYZ() 공개 메소드

public isVectorInYZ ( Vector3 $vector )
$vector Vector3

isVectorInside() 공개 메소드

public isVectorInside ( Vector3 $vector )
$vector Vector3

offset() 공개 메소드

public offset ( $x, $y, $z )

setBB() 공개 메소드

public setBB ( AxisAlignedBB $bb )
$bb AxisAlignedBB

setBounds() 공개 메소드

public setBounds ( $minX, $minY, $minZ, $maxX, $maxY, $maxZ )

shrink() 공개 메소드

public shrink ( $x, $y, $z )

프로퍼티 상세

$maxX 공개적으로 프로퍼티

public $maxX

$maxY 공개적으로 프로퍼티

public $maxY

$maxZ 공개적으로 프로퍼티

public $maxZ

$minX 공개적으로 프로퍼티

public $minX

$minY 공개적으로 프로퍼티

public $minY

$minZ 공개적으로 프로퍼티

public $minZ