Packages

final class Dist2 extends ProdDbl2

2 dimensional vector using metres as units rather than pure scalar numbers.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dist2
  2. ProdDbl2
  3. ProdHomo
  4. SpecialT
  5. Product2
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Dist2(xMetres: Double, yMetres: Double)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(operator: Double): Dist2
  4. def +(op: Dist2): Dist2
  5. def -(op: Dist2): Dist2
  6. def /(operator: Double): Dist2
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def _1: Double
    Definition Classes
    Dist2 → Product2
  9. def _2: Double
    Definition Classes
    Dist2 → Product2
  10. def addX(adj: Dist): Dist2
  11. def addXY(otherX: Dist, otherY: Dist): Dist2
  12. def addY(adj: Dist): Dist2
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def canEqual(other: Any): Boolean
    Definition Classes
    Dist2 → Equals
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  16. def dot(operand: Dist2): Area

    Produces the dot product of this 2 dimensional distance Vector and the operand.

    Produces the dot product of this 2 dimensional distance Vector and the operand.

    Annotations
    @inline()
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def magnitude: Dist
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def productArity: Int
    Definition Classes
    Product2 → Product
  27. def productElement(n: Int): Any
    Definition Classes
    Product2 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  28. def productElementName(n: Int): String
    Definition Classes
    Product
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. def productIterator: Iterator[Any]
    Definition Classes
    Product
  31. def productPrefix: String
    Definition Classes
    Product
  32. def rotate(a: Angle): Dist2
  33. def rotateRadians(r: Double): Dist2
  34. def subX(adj: Dist): Dist2
  35. def subXY(otherX: Dist, otherY: Dist): Dist2
  36. def subY(adj: Dist): Dist2
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toLatLong: LatLong

    Currently not working for angles greater than Pi / 2

  39. def toString(): String
    Definition Classes
    Dist2 → AnyRef → Any
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. def x: Dist
  44. val xMetres: Double
  45. def xNeg: Boolean
  46. def xPos: Boolean
  47. def y: Dist
  48. val yMetres: Double
  49. def yNeg: Boolean
  50. def yPos: Boolean

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ProdDbl2

Inherited from ProdHomo

Inherited from SpecialT

Inherited from Product2[Double, Double]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped