public final class ArrayVoxelShape extends VoxelShape
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.doubles.DoubleList |
xPoints |
private it.unimi.dsi.fastutil.doubles.DoubleList |
yPoints |
private it.unimi.dsi.fastutil.doubles.DoubleList |
zPoints |
voxels
Modifier | Constructor and Description |
---|---|
protected |
ArrayVoxelShape(VoxelSet shape,
double[] xPoints,
double[] yPoints,
double[] zPoints) |
(package private) |
ArrayVoxelShape(VoxelSet shape,
it.unimi.dsi.fastutil.doubles.DoubleList xPoints,
it.unimi.dsi.fastutil.doubles.DoubleList yPoints,
it.unimi.dsi.fastutil.doubles.DoubleList zPoints) |
Modifier and Type | Method and Description |
---|---|
protected it.unimi.dsi.fastutil.doubles.DoubleList |
getPointPositions(Direction.Axis axis) |
calculateMaxDistance, calculateMaxDistance, contains, forEachBox, forEachEdge, getBoundingBox, getBoundingBoxes, getCoordIndex, getEndingCoord, getFace, getMax, getMin, getPointPosition, isEmpty, offset, raycast, simplify, toString
private final it.unimi.dsi.fastutil.doubles.DoubleList xPoints
private final it.unimi.dsi.fastutil.doubles.DoubleList yPoints
private final it.unimi.dsi.fastutil.doubles.DoubleList zPoints
protected ArrayVoxelShape(VoxelSet shape, double[] xPoints, double[] yPoints, double[] zPoints)
ArrayVoxelShape(VoxelSet shape, it.unimi.dsi.fastutil.doubles.DoubleList xPoints, it.unimi.dsi.fastutil.doubles.DoubleList yPoints, it.unimi.dsi.fastutil.doubles.DoubleList zPoints)
protected it.unimi.dsi.fastutil.doubles.DoubleList getPointPositions(Direction.Axis axis)
getPointPositions
in class VoxelShape