Contents
- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- contains(int, int, int)
- contains(double, double, double)
- contains(Vector3i)
- contains(Vector3d)
- contains(Bounds3i)
- intersects(Bounds3i)
- isZeroVolume()
- getSize()
- maxRangeOrthogonal()
- assign(Bounds3i)
- assign(Vector3i, Vector3i)
- offset(int, int, int)
- offset(Vector3i)
- offsetOpposite(Vector3i)
- intersect(Bounds3i)
- encompass(Bounds3i)
- encompass(Vector3ic)
- stack(Bounds3i)
- stackOrAssign(Bounds3i)
- expand(int)
- flipOnOriginPoint()
- flipOnOriginVoxel()
- applyRotationAroundVoxel(RotationTuple, Vector3ic)
- undoRotationAroundVoxel(RotationTuple, Vector3ic)
- toBounds3d()
- clone()
- isCorrect()
- correct()
- toString()
- getMemoryUsage()
Class Bounds3i
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.bounds.Bounds3i
- All Implemented Interfaces:
MemInstrument
-
Nested Class Summary
Nested classes/interfaces inherited from interface MemInstrument
MemInstrument.Report -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.joml.Vector3ifinal org.joml.Vector3istatic final Bounds3iFields inherited from interface MemInstrument
ARRAY_HEADER_SIZE, ARRAYLIST_OBJECT_SIZE, BOOLEAN_SIZE, BYTES_IN_MEGABYTES, CLASS_OBJECT_SIZE, DOUBLE_SIZE, HASHMAP_ENTRY_SIZE, INT_SIZE, OBJECT_HEADER_SIZE, OBJECT_REFERENCE_SIZE, VECTOR3I_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyRotationAroundVoxel(RotationTuple rotationTuple, org.joml.Vector3ic anchor) assign(org.joml.Vector3i min, org.joml.Vector3i max) clone()booleancontains(double x, double y, double z) booleancontains(int x, int y, int z) booleanbooleancontains(org.joml.Vector3d position) booleancontains(org.joml.Vector3i position) voidcorrect()encompass(org.joml.Vector3ic position) expand(int distance) org.joml.Vector3igetSize()booleanintersects(Bounds3i other) booleanbooleandoubleoffset(int x, int y, int z) offset(org.joml.Vector3i vector) offsetOpposite(org.joml.Vector3i vector) stackOrAssign(Bounds3i other) toString()undoRotationAroundVoxel(RotationTuple rotationTuple, org.joml.Vector3ic anchor)
-
Field Details
-
ZERO
-
min
@Nonnull public final org.joml.Vector3i min -
max
@Nonnull public final org.joml.Vector3i max
-
-
Constructor Details
-
Bounds3i
public Bounds3i() -
Bounds3i
-
Bounds3i
public Bounds3i(@Nonnull org.joml.Vector3ic min, @Nonnull org.joml.Vector3ic max)
-
-
Method Details
-
contains
public boolean contains(int x, int y, int z) -
contains
public boolean contains(double x, double y, double z) -
contains
public boolean contains(@Nonnull org.joml.Vector3i position) -
contains
public boolean contains(@Nonnull org.joml.Vector3d position) -
contains
-
intersects
-
isZeroVolume
public boolean isZeroVolume() -
getSize
@Nonnull public org.joml.Vector3i getSize() -
maxRangeOrthogonal
public double maxRangeOrthogonal() -
assign
-
assign
-
offset
-
offset
-
offsetOpposite
-
intersect
-
encompass
-
encompass
-
stack
-
stackOrAssign
-
expand
-
flipOnOriginPoint
-
flipOnOriginVoxel
-
applyRotationAroundVoxel
public Bounds3i applyRotationAroundVoxel(@Nonnull RotationTuple rotationTuple, @Nonnull org.joml.Vector3ic anchor) -
undoRotationAroundVoxel
public Bounds3i undoRotationAroundVoxel(@Nonnull RotationTuple rotationTuple, @Nonnull org.joml.Vector3ic anchor) -
toBounds3d
-
clone
-
isCorrect
public boolean isCorrect() -
correct
public void correct() -
toString
-
getMemoryUsage
- Specified by:
getMemoryUsagein interfaceMemInstrument
-