public class SimpleAxisAlignedBB extends Object implements AxisAlignedBB
AxisAlignedBB.BBConsumer<T>| Constructor and Description |
|---|
SimpleAxisAlignedBB(float minX,
float minY,
float minZ,
float maxX,
float maxY,
float maxZ) |
SimpleAxisAlignedBB(com.nukkitx.math.vector.Vector3f pos1,
com.nukkitx.math.vector.Vector3f pos2) |
SimpleAxisAlignedBB(com.nukkitx.math.vector.Vector3i pos1,
com.nukkitx.math.vector.Vector3i pos2) |
| Modifier and Type | Method and Description |
|---|---|
AxisAlignedBB |
clone() |
float |
getMaxX() |
float |
getMaxY() |
float |
getMaxZ() |
float |
getMinX() |
float |
getMinY() |
float |
getMinZ() |
void |
setMaxX(float maxX) |
void |
setMaxY(float maxY) |
void |
setMaxZ(float maxZ) |
void |
setMinX(float minX) |
void |
setMinY(float minY) |
void |
setMinZ(float minZ) |
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCoord, addCoord, calculateIntercept, calculateXOffset, calculateYOffset, calculateZOffset, contract, expand, forEach, getAverageEdgeLength, getOffsetBoundingBox, getOffsetBoundingBox, grow, intersectsWith, isVectorInside, isVectorInXY, isVectorInXZ, isVectorInYZ, offset, offset, setBB, setBounds, shrinkpublic SimpleAxisAlignedBB(com.nukkitx.math.vector.Vector3i pos1,
com.nukkitx.math.vector.Vector3i pos2)
public SimpleAxisAlignedBB(com.nukkitx.math.vector.Vector3f pos1,
com.nukkitx.math.vector.Vector3f pos2)
public SimpleAxisAlignedBB(float minX,
float minY,
float minZ,
float maxX,
float maxY,
float maxZ)
public float getMinX()
getMinX in interface AxisAlignedBBpublic void setMinX(float minX)
setMinX in interface AxisAlignedBBpublic float getMinY()
getMinY in interface AxisAlignedBBpublic void setMinY(float minY)
setMinY in interface AxisAlignedBBpublic float getMinZ()
getMinZ in interface AxisAlignedBBpublic void setMinZ(float minZ)
setMinZ in interface AxisAlignedBBpublic float getMaxX()
getMaxX in interface AxisAlignedBBpublic void setMaxX(float maxX)
setMaxX in interface AxisAlignedBBpublic float getMaxY()
getMaxY in interface AxisAlignedBBpublic void setMaxY(float maxY)
setMaxY in interface AxisAlignedBBpublic float getMaxZ()
getMaxZ in interface AxisAlignedBBpublic void setMaxZ(float maxZ)
setMaxZ in interface AxisAlignedBBpublic AxisAlignedBB clone()
clone in interface AxisAlignedBBclone in class ObjectCopyright © 2020. All rights reserved.