io.github.karols.units

DoubleA

final case class DoubleA[A <: AffineSpace](value: Double) extends AnyVal with Product with Serializable

Double-precision floating-point value representing a point in a 1-dimensional affine space.

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

Instance Constructors

  1. new DoubleA(value: Double)

Value Members

  1. def !=(i: DoubleA[A]): Boolean

    Annotations
    @inline()
  2. def !=(i: IntA[A]): Boolean

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

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

    Definition Classes
    Any
  5. def +(i: DoubleU[A.Unit]): DoubleA[A]

    Adds a difference value with the same unit.

    Adds a difference value with the same unit.

    Annotations
    @inline()
  6. def +(i: IntU[A.Unit]): DoubleA[A]

    Adds a difference value with the same unit.

    Adds a difference value with the same unit.

    Annotations
    @inline()
  7. def -(i: DoubleU[A.Unit]): DoubleA[A]

    Subtracts a difference value with the same unit.

    Subtracts a difference value with the same unit.

    Annotations
    @inline()
  8. def -(i: IntU[A.Unit]): DoubleA[A]

    Subtracts a difference value with the same unit.

    Subtracts a difference value with the same unit.

    Annotations
    @inline()
  9. def --(i: DoubleA[A]): DoubleU[A.Unit]

    Calculates a difference between two points in the affine space

    Calculates a difference between two points in the affine space

    Annotations
    @inline()
  10. def --(i: IntA[A]): DoubleU[A.Unit]

    Calculates a difference between two points in the affine space

    Calculates a difference between two points in the affine space

    Annotations
    @inline()
  11. def <(i: DoubleA[A]): Boolean

    Annotations
    @inline()
  12. def <(i: IntA[A]): Boolean

    Annotations
    @inline()
  13. def <=(i: DoubleA[A]): Boolean

    Annotations
    @inline()
  14. def <=(i: IntA[A]): Boolean

    Annotations
    @inline()
  15. def <=~[B <: AffineSpace](i: DoubleA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Annotations
    @inline()
  16. def <=~[B <: AffineSpace](i: IntA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Annotations
    @inline()
  17. def <~[B <: AffineSpace](i: DoubleA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Annotations
    @inline()
  18. def <~[B <: AffineSpace](i: IntA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Annotations
    @inline()
  19. def ==(i: DoubleA[A]): Boolean

    Annotations
    @inline()
  20. def ==(i: IntA[A]): Boolean

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

    Definition Classes
    Any
  22. def >(i: DoubleA[A]): Boolean

    Annotations
    @inline()
  23. def >(i: IntA[A]): Boolean

    Annotations
    @inline()
  24. def >=(i: DoubleA[A]): Boolean

    Annotations
    @inline()
  25. def >=(i: IntA[A]): Boolean

    Annotations
    @inline()
  26. def >=~[B <: AffineSpace](i: DoubleA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Annotations
    @inline()
  27. def >=~[B <: AffineSpace](i: IntA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Annotations
    @inline()
  28. def >~[B <: AffineSpace](i: DoubleA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Annotations
    @inline()
  29. def >~[B <: AffineSpace](i: IntA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

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

    Definition Classes
    Any
  31. def changeUnit[U <: MUnit](implicit ev: DoubleRatio[A.Unit, U]): DoubleA[DefineAffineSpace[A.Zero, U]]

    Converts this point to another affine space, with the same zero point, but different unit.

    Converts this point to another affine space, with the same zero point, but different unit.

    Annotations
    @inline()
  32. def convert[B <: AffineSpace](implicit ev: DoubleAffineSpaceConverter[A, B]): DoubleA[B]

    Converts this point to another affine space.

    Converts this point to another affine space.

    Annotations
    @inline()
  33. def fromZero: DoubleU[A.Unit]

    Annotations
    @inline()
  34. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. def mkString(implicit name: UnitName[A.Unit]): String

    Annotations
    @inline()
  37. val value: Double

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped