public final class BitSetVoxelShapePart extends VoxelShapePart
VoxelShapePart.IFaceConsumer, VoxelShapePart.ILineConsumer
xSize, ySize, zSize
Constructor and Description |
---|
BitSetVoxelShapePart(int xSizeIn,
int ySizeIn,
int zSizeIn) |
BitSetVoxelShapePart(int xSizeIn,
int ySizeIn,
int zSizeIn,
int minX,
int minY,
int minZ,
int maxX,
int maxY,
int maxZ) |
BitSetVoxelShapePart(VoxelShapePart shapePart) |
Modifier and Type | Method and Description |
---|---|
int |
getEnd(Direction.Axis axis) |
protected int |
getIndex(int x,
int y,
int z) |
int |
getStart(Direction.Axis axis) |
boolean |
isEmpty() |
boolean |
isFilled(int x,
int y,
int z) |
protected boolean |
isZAxisLineFull(int fromZ,
int toZ,
int x,
int y) |
void |
setFilled(int x,
int y,
int z,
boolean expandBounds,
boolean filled) |
protected void |
setZAxisLine(int fromZ,
int toZ,
int x,
int y,
boolean filled) |
contains, containsWithRotation, firstFilled, forEachBox, forEachEdge, forEachFace, getSize, getXSize, getYSize, getZSize, isFilledWithRotation, isXZRectangleFull, lastFilled
public BitSetVoxelShapePart(int xSizeIn, int ySizeIn, int zSizeIn)
public BitSetVoxelShapePart(int xSizeIn, int ySizeIn, int zSizeIn, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
public BitSetVoxelShapePart(VoxelShapePart shapePart)
protected int getIndex(int x, int y, int z)
public boolean isFilled(int x, int y, int z)
isFilled
in class VoxelShapePart
public void setFilled(int x, int y, int z, boolean expandBounds, boolean filled)
setFilled
in class VoxelShapePart
public boolean isEmpty()
isEmpty
in class VoxelShapePart
public int getStart(Direction.Axis axis)
getStart
in class VoxelShapePart
public int getEnd(Direction.Axis axis)
getEnd
in class VoxelShapePart
protected boolean isZAxisLineFull(int fromZ, int toZ, int x, int y)
isZAxisLineFull
in class VoxelShapePart
protected void setZAxisLine(int fromZ, int toZ, int x, int y, boolean filled)
setZAxisLine
in class VoxelShapePart