Packages

class Loc extends AnyRef

Source
geo.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Loc
  2. AnyRef
  3. Any
Implicitly
  1. by richDrxAny
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Loc(lat: Double, lon: Double, alt: Length)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(ned: Ned): Loc
  4. def -(ned: Ned): Loc
  5. def ->[B](y: B): (Loc, B)
    Implicit
    This member is added by an implicit conversion from Loc toArrowAssoc[Loc] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. val alt: Length
  8. def applyIf(t: Boolean, f: (Loc) => Loc): Loc
    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. def applyIf(t: (Loc) => Boolean)(f: (Loc) => Loc): Loc

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. lazy val ecef: Ecef
  13. def elementOf(xs: Set[Loc]): Boolean
    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  14. def ensuring(cond: (Loc) => Boolean, msg: => Any): Loc
    Implicit
    This member is added by an implicit conversion from Loc toEnsuring[Loc] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Loc) => Boolean): Loc
    Implicit
    This member is added by an implicit conversion from Loc toEnsuring[Loc] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): Loc
    Implicit
    This member is added by an implicit conversion from Loc toEnsuring[Loc] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Loc
    Implicit
    This member is added by an implicit conversion from Loc toEnsuring[Loc] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Loc toStringFormat[Loc] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def greatBearingTo(that: Loc): Angle

    great circle bearing http://www.movable-type.co.uk/scripts/latlong.html

  24. def greatDist(that: Loc): Length

    great circle dist http://www.movable-type.co.uk/scripts/latlong.html

  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val lat: Double
  28. lazy val latR: Double
  29. def lerp(that: Loc)(t: Double): Loc
  30. val lon: Double
  31. lazy val lonR: Double
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def nedTo(that: Loc): Ned

    accurate but slower version of ~> (using test:runMain LocSpeedTest shows about 4x slower) This uses an intermediate ECEF coordinate transformation

  34. def nedToApproximate(that: Loc): Ned

    approximate but faster version of ~> (using test:runMain LocSpeedTest shows about 4x faster) This function uses the average radius of the earth and assumes small angles

  35. def noneIf(f: (Loc) => Boolean): Option[Loc]
    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def optionIf(f: (Loc) => Boolean): Option[Loc]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. def preApply[B](f: (Loc) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  40. def sideEffect(f: (Loc) => Unit): Loc

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def slerp(that: Loc)(t: Double): Loc
  42. def someIf(f: (Loc) => Boolean): Option[Loc]
    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. val thisAny: Loc
    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  45. def toString(): String
    Definition Classes
    Loc → AnyRef → Any
  46. lazy val utm: Utm
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Loc toany2stringadd[Loc] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (loc: any2stringadd[Loc]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def ?>(f: (Loc) => Boolean): Option[Loc]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def |>[B](f: (Loc) => B): B
    Implicit
    This member is added by an implicit conversion from Loc toDrxAny[Loc] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  3. def ~>(that: Loc): Ned
    Annotations
    @deprecated
    Deprecated

    (Since version v0.1.21c) use nedTo(Loc) instead to reserve the drx ~> semantic meanings for something else

  4. def [B](y: B): (Loc, B)
    Implicit
    This member is added by an implicit conversion from Loc toArrowAssoc[Loc] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromLoc to DrxAny[Loc]

Inherited by implicit conversion any2stringadd fromLoc to any2stringadd[Loc]

Inherited by implicit conversion StringFormat fromLoc to StringFormat[Loc]

Inherited by implicit conversion Ensuring fromLoc to Ensuring[Loc]

Inherited by implicit conversion ArrowAssoc fromLoc to ArrowAssoc[Loc]

Ungrouped