class Loc extends AnyRef
- Source
- geo.scala
- Alphabetic
- By Inheritance
- Loc
- AnyRef
- Any
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(ned: Ned): Loc
- def -(ned: Ned): Loc
- def ->[B](y: B): (Loc, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val alt: Length
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val ecef: Ecef
- 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
- def ensuring(cond: (Loc) => Boolean, msg: => Any): Loc
- def ensuring(cond: (Loc) => Boolean): Loc
- def ensuring(cond: Boolean, msg: => Any): Loc
- def ensuring(cond: Boolean): Loc
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def greatBearingTo(that: Loc): Angle
great circle bearing http://www.movable-type.co.uk/scripts/latlong.html
- def greatDist(that: Loc): Length
great circle dist http://www.movable-type.co.uk/scripts/latlong.html
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lat: Double
- lazy val latR: Double
- def lerp(that: Loc)(t: Double): Loc
- val lon: Double
- lazy val lonR: Double
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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 - 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 - 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
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- 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
- 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
- def slerp(that: Loc)(t: Double): Loc
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- def toString(): String
- Definition Classes
- Loc → AnyRef → Any
- lazy val utm: Utm
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Shadowed Implicit Value Members
- 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
- 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
- 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)
- 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
- 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.