Uses of Class
civitas.celestis.math.integer.Integer3

Packages that use Integer3
  • Uses of Integer3 in civitas.celestis.math.decimal

    Modifier and Type
    Method
    Description
    Decimal3.bigIntegerValue()
    Converts this vector into a big integer vector.
  • Uses of Integer3 in civitas.celestis.math.integer

    Modifier and Type
    Field
    Description
    static final Integer3
    Integer3.NEGATIVE_A
    The negative A unit vector.
    static final Integer3
    Integer3.NEGATIVE_B
    The negative B unit vector.
    static final Integer3
    Integer3.NEGATIVE_C
    The negative C unit vector.
    static final Integer3
    Integer3.POSITIVE_A
    The positive A unit vector.
    static final Integer3
    Integer3.POSITIVE_B
    The positive B unit vector.
    static final Integer3
    Integer3.POSITIVE_C
    The positive C unit vector.
    static final Integer3
    Integer3.ZERO
    A vector of no direction or magnitude.
    Modifier and Type
    Method
    Description
    Integer3.add(Integer3 v)
    Adds 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.
    Integer3.clamp(Integer3 min, Integer3 max)
    Between this vector and the provided boundary vectors min and max, this returns a new vector whose components are clamped to respect the range of [min, max].
    Integer3.cross(Integer3 v)
    Returns the cross product between this vector and the provided vector v.
    Integer3.divide(BigInteger s)
    Divides this vector by a scalar component-wise, then returns the resulting vector.
    Integer3.max(Integer3 v)
    Between this vector and the provided boundary vector v, 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.
    Between this vector and the provided vector v, this applies the merger function f to each corresponding pair of components, then returns a new vector whose components are populated from the return values of the function f.
    Integer3.min(Integer3 v)
    Between this vector and the provided boundary vector v, 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.
    Integer3.subtract(Integer3 v)
    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.
    Applies the provided transformation function f to 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 Integer3
    Modifier and Type
    Method
    Description
    Integer3.add(Integer3 v)
    Adds another vector to this vector, then returns the resulting vector.
    Integer3.clamp(Integer3 min, Integer3 max)
    Between this vector and the provided boundary vectors min and max, this returns a new vector whose components are clamped to respect the range of [min, max].
    Integer3.cross(Integer3 v)
    Returns the cross product between this vector and the provided vector v.
    Integer3.distance(Integer3 v)
    Returns the Euclidean distance between this vector and the provided vector v.
    Integer3.distance2(Integer3 v)
    Returns the squared Euclidean distance between this vector and the provided vector v.
    Returns the Manhattan distance between this vector and the provided vector v.
    Integer3.dot(Integer3 v)
    Returns the dot product between this vector and the provided vector v.
    boolean
    Integer3.equals(Integer3 v)
    Checks for equality between this vector and the provided vector v.
    Integer3.max(Integer3 v)
    Between this vector and the provided boundary vector v, 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.
    Between this vector and the provided vector v, this applies the merger function f to each corresponding pair of components, then returns a new vector whose components are populated from the return values of the function f.
    Integer3.min(Integer3 v)
    Between this vector and the provided boundary vector v, 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.subtract(Integer3 v)
    Subtracts another vector from this vector, then returns the resulting vector.