Class/Object

io.github.karols.units

Vector3U

Related Docs: object Vector3U | package units

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a value with a unit.

    Multiply by a value with a unit.

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

    Permalink

    Multiply by a value with a unit.

    Multiply by a value with a unit.

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

    Permalink

    Dot product.

    Dot product.

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

    Permalink

    Cross product

    Cross product

    Annotations
    @inline()
  11. 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]

    Permalink

    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()
  12. def +(i: Vector3U[U]): Vector3U[U]

    Permalink

    Add a value with the same unit.

    Add a value with the same unit.

    Annotations
    @inline()
  13. 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]

    Permalink

    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()
  14. def -(i: Vector3U[U]): Vector3U[U]

    Permalink

    Subtract a value with the same unit.

    Subtract a value with the same unit.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a value with a unit.

    Divide by a value with a unit.

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

    Permalink

    Divide by a value with a unit.

    Divide by a value with a unit.

    Annotations
    @inline()
  21. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def abs: DoubleU[U]

    Permalink

    Euclidean length of this vector

    Euclidean length of this vector

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

    Permalink

    Square of length of this vector

    Square of length of this vector

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

    Permalink
    Definition Classes
    Any
  25. def clone(): AnyRef

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

    Permalink

    Convert to another unit.

    Convert to another unit.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink

    Divide by a dimensionless value.

    Divide by a dimensionless value.

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

    Permalink
    Definition Classes
    AnyRef
  34. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  37. def length: DoubleU[U]

    Permalink

    Euclidean length of this vector

    Euclidean length of this vector

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

    Permalink

    Square of length of this vector

    Square of length of this vector

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

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

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

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

    Permalink
    Annotations
    @inline()
  44. 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]]]]

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

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

    Permalink

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

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

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

    Permalink

    Negate this value.

    Negate this value.

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

    Permalink

    A vector with the same direction and length 1

    A vector with the same direction and length 1

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

    Permalink

    Return the value as a triple of Doubles.

    Return the value as a triple of Doubles.

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

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

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

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

    Permalink
  60. val y: DoubleU[U]

    Permalink
  61. val z: DoubleU[U]

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

    Permalink

    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