Class/Object

io.github.karols.units

DoubleA

Related Docs: object DoubleA | package units

Permalink

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, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DoubleA
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DoubleA(value: Double)

    Permalink

Value Members

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

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

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

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

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    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]

    Permalink

    Converts this point to another affine space.

    Converts this point to another affine space.

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

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

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

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

    Permalink
    Annotations
    @inline()
  37. val value: Double

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped