io.github.karols.units

Vector3U

case class Vector3U[U <: MUnit](x: DoubleU[U], y: DoubleU[U], z: DoubleU[U]) extends Product with Serializable

A three-dimensional vector with a unit

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Vector3U
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Vector3U(x: DoubleU[U], y: DoubleU[U], z: DoubleU[U])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *(i: Float): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  5. def *(i: Byte): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  6. def *(i: Short): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  7. def *(i: Int): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  8. def *[V <: MUnit](i: DoubleU[V]): Vector3U[U.Mul[V]]

    Multiply by a value with a unit.

    Multiply by a value with a unit.

    Annotations
    @inline()
  9. def *[V <: MUnit](i: IntU[V]): Vector3U[U.Mul[V]]

    Multiply by a value with a unit.

    Multiply by a value with a unit.

    Annotations
    @inline()
  10. def *[V <: MUnit](i: Vector3U[V]): DoubleU[U.Mul[V]]

    Dot product.

    Dot product.

    Annotations
    @inline()
  11. def ***[V <: MUnit](i: Vector3U[V]): Vector3U[U]

    Cross product

    Cross product

    Annotations
    @inline()
  12. def +[V <: MUnit, W <: MUnit](i: Vector3U[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): Vector3U[W]

    Add a value with a different unit, coercing to the smaller of them.

    Add a value with a different unit, coercing to the smaller of them.

    Annotations
    @inline()
  13. def +(i: Vector3U[U]): Vector3U[U]

    Add a value with the same unit.

    Add a value with the same unit.

    Annotations
    @inline()
  14. def -[V <: MUnit, W <: MUnit](i: Vector3U[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): Vector3U[W]

    Subract a value with a different unit, coercing to the smaller of them.

    Subract a value with a different unit, coercing to the smaller of them.

    Annotations
    @inline()
  15. def -(i: Vector3U[U]): Vector3U[U]

    Subtract a value with the same unit.

    Subtract a value with the same unit.

    Annotations
    @inline()
  16. def /(i: Float): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  17. def /(i: Byte): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  18. def /(i: Short): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  19. def /(i: Int): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  20. def /[V <: MUnit](i: DoubleU[V]): Vector3U[U.Mul[/.V.Invert]]

    Divide by a value with a unit.

    Divide by a value with a unit.

    Annotations
    @inline()
  21. def /[V <: MUnit](i: IntU[V]): Vector3U[U.Mul[/.V.Invert]]

    Divide by a value with a unit.

    Divide by a value with a unit.

    Annotations
    @inline()
  22. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  24. def abs: DoubleU[U]

    Euclidean length of this vector

    Euclidean length of this vector

    Annotations
    @inline()
  25. def absSq: DoubleU[U.Mul[U]]

    Square of length of this vector

    Square of length of this vector

    Annotations
    @inline()
  26. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  27. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def convert[V <: MUnit](implicit ev: DoubleRatio[U, V]): Vector3U[V]

    Convert to another unit.

    Convert to another unit.

    Annotations
    @inline()
  29. def dividedBy(i: Float): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  30. def dividedBy(i: Double): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  31. def dividedBy(i: Byte): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  32. def dividedBy(i: Short): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  33. def dividedBy(i: Int): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  34. def dividedBy(i: Long): Vector3U[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  35. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  36. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  38. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  39. def length: DoubleU[U]

    Euclidean length of this vector

    Euclidean length of this vector

    Annotations
    @inline()
  40. def lengthSq: DoubleU[U.Mul[U]]

    Square of length of this vector

    Square of length of this vector

    Annotations
    @inline()
  41. def mkString(implicit name: UnitName[U]): String

    Annotations
    @inline()
  42. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. def represent[V <: MUnit, W <: MUnit](implicit ev: DoubleRatio[V, W]): Vector3U[MUnit.Mul.Mul[W]]

    Annotations
    @inline()
  46. def representAll[V <: TUnitPowerPair, W <: MUnit](implicit ev: PowerDoubleRatio[representAll.V.UnitName, representAll.V.Power, W, U.Get[representAll.V.UnitName]]): Vector3U[MUnit.Mul.Mul[representAll.W.ToPower[U.Get[representAll.V.UnitName]]]]

    Annotations
    @inline()
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def times(i: Float): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  49. def times(i: Double): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  50. def times(i: Byte): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  51. def times(i: Short): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  52. def times(i: Int): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  53. def times(i: Long): Vector3U[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  54. def toString(): String

    Definition Classes
    Vector3U → AnyRef → Any
    Annotations
    @inline()
  55. def unary_-: Vector3U[U]

    Negate this value.

    Negate this value.

    Annotations
    @inline()
  56. def unit: Vector3U[TDimensionless]

    A vector with the same direction and length 1

    A vector with the same direction and length 1

    Annotations
    @inline()
  57. def value: (Double, Double, Double)

    Return the value as a triple of Doubles.

    Return the value as a triple of Doubles.

    Annotations
    @inline()
  58. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. val x: DoubleU[U]

  62. val y: DoubleU[U]

  63. val z: DoubleU[U]

  64. def ×[V <: MUnit](i: Vector3U[V]): Vector3U[U]

    Cross product

    Cross product

    Annotations
    @inline()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped