Package com.hypixel.hytale.math.vector
Class VectorBoxUtil
java.lang.Object
com.hypixel.hytale.math.vector.VectorBoxUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,V> void forEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, IntBiObjectConsumer<T, V> consumer, V objV) static <T> voidforEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, IntObjectConsumer<T> consumer) static <T,V1, V2>
voidforEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, IntTriObjectConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) static <T,V> void forEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, IntBiObjectConsumer<T, V> consumer, V objV) static <T> voidforEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, IntObjectConsumer<T> consumer) static <T,V1, V2>
voidforEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, IntTriObjectConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) static <T,V> void forEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, IntBiObjectConsumer<T, V> consumer, V objV) static <T> voidforEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, IntObjectConsumer<T> consumer) static <T,V1, V2>
voidforEachVector(it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, IntTriObjectConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) static voidforEachVector(Iterable<Vector3d> vectors, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, Consumer<Vector3d> consumer) static voidforEachVector(Iterable<Vector3d> vectors, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, Consumer<Vector3d> consumer) static voidforEachVector(Iterable<Vector3d> vectors, double originX, double originY, double originZ, double apothem, Consumer<Vector3d> consumer) static <T,V1, V2>
voidforEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, TriConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) static <T,V> void forEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, BiConsumer<T, V> consumer, V objV) static <T> voidforEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, Consumer<T> consumer) static <T,V1, V2>
voidforEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, TriConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) static <T,V> void forEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, BiConsumer<T, V> consumer, V objV) static <T> voidforEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, Consumer<T> consumer) static <T,V1, V2>
voidforEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, TriConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) static <T,V> void forEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, BiConsumer<T, V> consumer, V objV) static <T> voidforEachVector(Iterable<T> input, Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, Consumer<T> consumer) static booleanisInside(double originX, double originY, double originZ, double xMin, double yMin, double zMin, double xMax, double yMax, double zMax, Vector3d vector) static booleanisInside(double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, Vector3d vector) static boolean
-
Constructor Details
-
VectorBoxUtil
public VectorBoxUtil()
-
-
Method Details
-
forEachVector
-
forEachVector
-
forEachVector
-
forEachVector
-
forEachVector
-
forEachVector
-
forEachVector
public static <T,V> void forEachVector(Iterable<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, BiConsumer<T, V> consumer, V objV) -
forEachVector
public static <T,V> void forEachVector(Iterable<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, BiConsumer<T, V> consumer, V objV) -
forEachVector
public static <T,V> void forEachVector(Iterable<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, BiConsumer<T, V> consumer, V objV) -
forEachVector
public static <T,V1, void forEachVectorV2> (Iterable<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, @Nonnull TriConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) -
forEachVector
public static <T,V1, void forEachVectorV2> (Iterable<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, @Nonnull TriConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) -
forEachVector
public static <T,V1, void forEachVectorV2> (Iterable<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, @Nonnull TriConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) -
forEachVector
public static <T> void forEachVector(@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, IntObjectConsumer<T> consumer) -
forEachVector
public static <T> void forEachVector(@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, IntObjectConsumer<T> consumer) -
forEachVector
public static <T> void forEachVector(@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, IntObjectConsumer<T> consumer) -
forEachVector
public static <T,V> void forEachVector(@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, IntBiObjectConsumer<T, V> consumer, V objV) -
forEachVector
public static <T,V> void forEachVector(@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, IntBiObjectConsumer<T, V> consumer, V objV) -
forEachVector
public static <T,V> void forEachVector(@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, IntBiObjectConsumer<T, V> consumer, V objV) -
forEachVector
public static <T,V1, void forEachVectorV2> (@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothem, @Nonnull IntTriObjectConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) -
forEachVector
public static <T,V1, void forEachVectorV2> (@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, @Nonnull IntTriObjectConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) -
forEachVector
public static <T,V1, void forEachVectorV2> (@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> input, @Nonnull Function<T, Vector3d> func, double originX, double originY, double originZ, double apothemXMin, double apothemYMin, double apothemZMin, double apothemXMax, double apothemYMax, double apothemZMax, @Nonnull IntTriObjectConsumer<T, V1, V2> consumer, V1 objV1, V2 objV2) -
isInside
public static boolean isInside(double originX, double originY, double originZ, double apothem, @Nonnull Vector3d vector) -
isInside
public static boolean isInside(double originX, double originY, double originZ, double apothemX, double apothemY, double apothemZ, @Nonnull Vector3d vector) -
isInside
public static boolean isInside(double originX, double originY, double originZ, double xMin, double yMin, double zMin, double xMax, double yMax, double zMax, @Nonnull Vector3d vector)
-