Uses of Class
civitas.celestis.math.integer.Integer3
Packages that use Integer3
-
Uses of Integer3 in civitas.celestis.math.decimal
Methods in civitas.celestis.math.decimal that return Integer3Modifier and TypeMethodDescriptionDecimal3.bigIntegerValue()Converts this vector into a big integer vector. -
Uses of Integer3 in civitas.celestis.math.integer
Fields in civitas.celestis.math.integer declared as Integer3Modifier and TypeFieldDescriptionstatic final Integer3Integer3.NEGATIVE_AThe negative A unit vector.static final Integer3Integer3.NEGATIVE_BThe negative B unit vector.static final Integer3Integer3.NEGATIVE_CThe negative C unit vector.static final Integer3Integer3.POSITIVE_AThe positive A unit vector.static final Integer3Integer3.POSITIVE_BThe positive B unit vector.static final Integer3Integer3.POSITIVE_CThe positive C unit vector.static final Integer3Integer3.ZEROA vector of no direction or magnitude.Methods in civitas.celestis.math.integer that return Integer3Modifier and TypeMethodDescriptionAdds another vector to this vector, then returns the resulting vector.Integer3.add(BigInteger s) Adds a scalar to this vector component-wise, then returns the resulting vector.Between this vector and the provided boundary vectorsminandmax, this returns a new vector whose components are clamped to respect the range of[min, max].Returns the cross product between this vector and the provided vectorv.Integer3.divide(BigInteger s) Divides this vector by a scalar component-wise, then returns the resulting vector.Between this vector and the provided boundary vectorv, this takes the maximum of each corresponding pair of components, then returns a new vector whose components are populated from that of the maximum values between each pair of components.Integer3.merge(Integer3 v, BinaryOperator<BigInteger> f) Between this vector and the provided vectorv, this applies the merger functionfto each corresponding pair of components, then returns a new vector whose components are populated from the return values of the functionf.Between this vector and the provided boundary vectorv, this takes the minimum of each corresponding pair of components, then returns a new vector whose components are populated from that of the minimum values between each pair of components.Integer3.multiply(BigInteger s) Multiplies this vector by a scalar component-wise, then returns the resulting vector.Integer3.negate()Negates all components of this vector, then returns the resulting vector.Subtracts another vector from this vector, then returns the resulting vector.Integer3.subtract(BigInteger s) Subtracts this vector by a scalar component-wise, then returns the resulting vector.Integer3.transform(UnaryOperator<BigInteger> f) Applies the provided transformation functionfto each component of this vector, then returns a new vector containing the return values of the function f.Methods in civitas.celestis.math.integer with parameters of type Integer3Modifier and TypeMethodDescriptionAdds another vector to this vector, then returns the resulting vector.Between this vector and the provided boundary vectorsminandmax, this returns a new vector whose components are clamped to respect the range of[min, max].Returns the cross product between this vector and the provided vectorv.Returns the Euclidean distance between this vector and the provided vectorv.Returns the squared Euclidean distance between this vector and the provided vectorv.Integer3.distanceManhattan(Integer3 v) Returns the Manhattan distance between this vector and the provided vectorv.Returns the dot product between this vector and the provided vectorv.booleanChecks for equality between this vector and the provided vectorv.Between this vector and the provided boundary vectorv, this takes the maximum of each corresponding pair of components, then returns a new vector whose components are populated from that of the maximum values between each pair of components.Integer3.merge(Integer3 v, BinaryOperator<BigInteger> f) Between this vector and the provided vectorv, this applies the merger functionfto each corresponding pair of components, then returns a new vector whose components are populated from the return values of the functionf.Between this vector and the provided boundary vectorv, this takes the minimum of each corresponding pair of components, then returns a new vector whose components are populated from that of the minimum values between each pair of components.Subtracts another vector from this vector, then returns the resulting vector.