io.github.karols.units

Vector2A

case class Vector2A[A <: AffineSpace](x: DoubleA[A], y: DoubleA[A]) extends Product with Serializable

A two-dimensional vector within an affine space

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Vector2A
  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 Vector2A(x: DoubleA[A], y: DoubleA[A])

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: Vector2U[A.Unit]): Vector2A[A]

    Add a value with the same unit.

    Add a value with the same unit.

    Annotations
    @inline()
  5. def -(i: Vector2U[A.Unit]): Vector2A[A]

    Subtract a value with the same unit.

    Subtract a value with the same unit.

    Annotations
    @inline()
  6. def --(i: Vector2A[A]): Vector2U[A.Unit]

    Subtract a value within the same affine space.

    Subtract a value within the same affine space.

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

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

    Definition Classes
    Any
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def convert[B <: AffineSpace](implicit ev: DoubleAffineSpaceConverter[A, B]): Vector2A[B]

    Convert to another unit.

    Convert to another unit.

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

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fromZero: Vector2U[A.Unit]

  15. final def getClass(): Class[_]

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

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

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

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

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

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    Vector2A → AnyRef → Any
    Annotations
    @inline()
  23. def value: (Double, Double)

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val x: DoubleA[A]

  28. val y: DoubleA[A]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped