public final class BitSetVoxelShapePart extends VoxelShapePart
VoxelShapePart.IFaceConsumer, VoxelShapePart.ILineConsumerxSize, 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, lastFilledpublic 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 VoxelShapePartpublic void setFilled(int x,
int y,
int z,
boolean expandBounds,
boolean filled)
setFilled in class VoxelShapePartpublic boolean isEmpty()
isEmpty in class VoxelShapePartpublic int getStart(Direction.Axis axis)
getStart in class VoxelShapePartpublic int getEnd(Direction.Axis axis)
getEnd in class VoxelShapePartprotected boolean isZAxisLineFull(int fromZ,
int toZ,
int x,
int y)
isZAxisLineFull in class VoxelShapePartprotected void setZAxisLine(int fromZ,
int toZ,
int x,
int y,
boolean filled)
setZAxisLine in class VoxelShapePart