Class

com.github.tsingjyujing.geo.element

GeoPointTree

Related Doc: package element

Permalink

class GeoPointTree[T <: IGeoPoint] extends IGeoPointSet[T] with IHashableGeoBlock with Serializable

Layered Geo points index as an TreeSet

T

Type to save geo points, any type extends IGeoPoint

Linear Supertypes
IHashableGeoBlock, IHashedIndex[Long], IGeoPoint, Serializable, Serializable, GeoDistanceMeasurable[IGeoPoint], IGeoPointSet[T], GeoJSONable, Iterable[T], IterableLike[T, Iterable[T]], Equals, GenIterable[T], GenIterableLike[T, Iterable[T]], Traversable[T], GenTraversable[T], GenericTraversableTemplate[T, Iterable], TraversableLike[T, Iterable[T]], GenTraversableLike[T, Iterable[T]], Parallelizable[T, ParIterable[T]], TraversableOnce[T], GenTraversableOnce[T], FilterMonadic[T, Iterable[T]], HasNewBuilder[T, Iterable[T] @scala.annotation.unchecked.uncheckedVariance], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoPointTree
  2. IHashableGeoBlock
  3. IHashedIndex
  4. IGeoPoint
  5. Serializable
  6. Serializable
  7. GeoDistanceMeasurable
  8. IGeoPointSet
  9. GeoJSONable
  10. Iterable
  11. IterableLike
  12. Equals
  13. GenIterable
  14. GenIterableLike
  15. Traversable
  16. GenTraversable
  17. GenericTraversableTemplate
  18. TraversableLike
  19. GenTraversableLike
  20. Parallelizable
  21. TraversableOnce
  22. GenTraversableOnce
  23. FilterMonadic
  24. HasNewBuilder
  25. AnyRef
  26. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeoPointTree(currentDepth: Int = 4, currentCode: Long = 0, maxDepth: Int = 17, depthStep: Int = 3)

    Permalink

    currentDepth

    current depth or init depth

    currentCode

    current geo-hash code

    maxDepth

    max depth

    depthStep

    next depth = currentDepth + depthStep

Type Members

  1. type Self = Iterable[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(x: IVector2): IGeoPoint

    Permalink
    Definition Classes
    IGeoPoint
  4. def ++[B >: T, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  5. def ++:[B >: T, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  6. def ++:[B >: T, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  7. def -(x: IGeoPoint): IVector2

    Permalink
    Definition Classes
    IGeoPoint
  8. def -(x: IVector2): IGeoPoint

    Permalink
    Definition Classes
    IGeoPoint
  9. def /:[B](z: B)(op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. def :\[B](z: B)(op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  13. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  14. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  15. def aggregate[B](z: ⇒ B)(seqop: (B, T) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  16. def appendPoint(point: T): Unit

    Permalink

    Append point to set

    Append point to set

    point

    point value

    Definition Classes
    GeoPointTreeIGeoPointSet
  17. def appendPoints(points: TraversableOnce[T]): Unit

    Permalink
    Definition Classes
    IGeoPointSet
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  20. lazy val circumradius: Double

    Permalink

    Get a spherical crown to hash block

    Get a spherical crown to hash block

    Definition Classes
    IHashableGeoBlock
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  22. def collect[B, That](pf: PartialFunction[T, B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  23. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  24. def companion: GenericCompanion[Iterable]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  25. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  26. def copyToArray[B >: T](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  27. def copyToArray[B >: T](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  28. def copyToBuffer[B >: T](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  29. def count(p: (T) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  30. val dataList: ArrayBuffer[T]

    Permalink
  31. def directionTo(point: IGeoPoint): Double

    Permalink

    Get the direction from this to target point in unit of Degree

    Get the direction from this to target point in unit of Degree

    North: 0/360 East: 90 South: 180 West: 270

    point

    target point

    Definition Classes
    IGeoPoint
  32. def drop(n: Int): Iterable[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  33. def dropRight(n: Int): Iterable[T]

    Permalink
    Definition Classes
    IterableLike
  34. def dropWhile(p: (T) ⇒ Boolean): Iterable[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  35. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. def equals(o: Any): Boolean

    Permalink

    Avoid duplication in Set or key of the Map

    Avoid duplication in Set or key of the Map

    o

    object to compare

    Definition Classes
    IHashableGeoBlockIHashedIndex → AnyRef → Any
  37. def exists(p: (T) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  38. def filter(p: (T) ⇒ Boolean): Iterable[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  39. def filterNot(p: (T) ⇒ Boolean): Iterable[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  40. def find(p: (T) ⇒ Boolean): Option[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  41. def flatMap[B, That](f: (T) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  42. def flatten[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): Iterable[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  43. def fold[A1 >: T](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  44. def foldLeft[B](z: B)(op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  45. def foldRight[B](z: B)(op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  46. def forall(p: (T) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  47. def foreach[U](f: (T) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  48. def genericBuilder[B]: Builder[B, Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  49. val geoBox: GeoBox

    Permalink

    Get bound box of this block

    Get bound box of this block

    Definition Classes
    IHashableGeoBlock
  50. def geoFrechet(points: TraversableOnce[IGeoPoint], searchRadius: Double = 0.5): TraversableOnce[Double]

    Permalink

    Get geo distance of nearest point in set

    Get geo distance of nearest point in set

    Definition Classes
    IGeoPointSet
  51. def geoFrechetSimilarity(points: Iterable[IGeoPoint], searchRadius: Double = 0.5): Double

    Permalink

    Get similarity of the route and set

    Get similarity of the route and set

    Definition Classes
    IGeoPointSet
  52. def geoNear(point: IGeoPoint, maxDistance: Double): Option[T]

    Permalink

    草稿: 给每个Block评分,优先在符合条件的,且最近的Block里面找, 找到的符合条件的最近点的distance作为maxDistanceLimit传入下一个Block, 本质上是一个状态机 这样找最快(单核条件下),但是并行度低

    草稿: 给每个Block评分,优先在符合条件的,且最近的Block里面找, 找到的符合条件的最近点的distance作为maxDistanceLimit传入下一个Block, 本质上是一个状态机 这样找最快(单核条件下),但是并行度低

    如果只是确定有没有半径内的点,还可以更快一点,存在范围内的Block有点就可以返回True了

    Definition Classes
    GeoPointTreeIGeoPointSet
  53. final def geoTo(point: IGeoPoint): Double

    Permalink

    Get distance from this to point or point to this (should be same)

    Get distance from this to point or point to this (should be same)

    point

    geo point

    Definition Classes
    IGeoPointGeoDistanceMeasurable
  54. def geoWithin(point: IGeoPoint, maxDistance: Double = 1.0): Iterable[T]

    Permalink

    Search all points in radius of maxDistance

    Search all points in radius of maxDistance

    point

    center point

    maxDistance

    max radius

    Definition Classes
    IGeoPointSet
  55. def geoWithinRing(point: IGeoPoint, minDistance: Double, maxDistance: Double): Iterable[T]

    Permalink

    Search point within ring

    Search point within ring

    point

    center point

    minDistance

    ring inside radius

    maxDistance

    ring outside radius

    Definition Classes
    GeoPointTreeIGeoPointSet
  56. def getBoundaryPoints(point: IGeoPoint): Iterable[IGeoPoint]

    Permalink

    Get points on boundary maybe the min/max distance

    Get points on boundary maybe the min/max distance

    point

    reference points

    Definition Classes
    IHashableGeoBlock
  57. def getCenterPoint: IGeoPoint

    Permalink

    Get center point of the hash block

    Get center point of the hash block

    Definition Classes
    GeoPointTreeIHashableGeoBlock
  58. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  59. def getGeoHashAccuracy: Long

    Permalink

    Accuracy to mesh earth into N*N parts

    Accuracy to mesh earth into N*N parts

    Definition Classes
    GeoPointTreeIHashableGeoBlock
  60. def getIndexCode: Long

    Permalink

    Get a unique indexCode as type T

    Get a unique indexCode as type T

    Definition Classes
    GeoPointTreeIHashedIndex
  61. def getIndexCodeTuple: (Long, Long)

    Permalink

    decompose code tuple from code

    decompose code tuple from code

    Definition Classes
    IHashableGeoBlock
  62. def getLatitude: Double

    Permalink

    Get latitude recommended in WGS84 format

    Get latitude recommended in WGS84 format

    returns

    Latitude in degree

    Definition Classes
    IHashableGeoBlockIGeoPoint
  63. def getLatitudeTuple: Long

    Permalink

    Get latitude part of decomposed code

    Get latitude part of decomposed code

    Definition Classes
    IHashableGeoBlock
  64. def getLongitude: Double

    Permalink

    Get longitude recommended in WGS84 format

    Get longitude recommended in WGS84 format

    returns

    Longitude in degree

    Definition Classes
    IHashableGeoBlockIGeoPoint
  65. def getLongitudeTuple: Long

    Permalink

    Get longitude part of decomposed code

    Get longitude part of decomposed code

    Definition Classes
    IHashableGeoBlock
  66. def getMaxDistance(x: IGeoPoint): Double

    Permalink

    get max distance from block to point

    get max distance from block to point

    Definition Classes
    IHashableGeoBlock
  67. def getMaxDistance(x: IHashableGeoBlock): Double

    Permalink

    Get max distance from block to this block

    Get max distance from block to this block

    x

    block info

    Definition Classes
    IHashableGeoBlock
  68. def getMinDistance(x: IGeoPoint): Double

    Permalink

    get min distance from block to point

    get min distance from block to point

    if point in block: --> 0 else: if point out of circumradius --> distanceToCenter - circumradius else --> calculate for each boundary point

    Definition Classes
    IHashableGeoBlock
  69. def getMinDistance(x: IHashableGeoBlock): Double

    Permalink

    Get min distance from block to this block

    Get min distance from block to this block

    x

    block info

    Definition Classes
    IHashableGeoBlock
  70. def getPoints: Iterable[T]

    Permalink

    Query all points in set

    Query all points in set

    Definition Classes
    GeoPointTreeIGeoPointSet
  71. def groupBy[K](f: (T) ⇒ K): Map[K, Iterable[T]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  72. def grouped(size: Int): Iterator[Iterable[T]]

    Permalink
    Definition Classes
    IterableLike
  73. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  74. def hashCode(): Int

    Permalink

    Create a hashCode to accelerate operations in HashSet or HashMap ect.

    Create a hashCode to accelerate operations in HashSet or HashMap ect.

    Definition Classes
    IHashableGeoBlockIHashedIndex → AnyRef → Any
  75. def head: T

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  76. def headOption: Option[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  77. def init: Iterable[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  78. def inits: Iterator[Iterable[T]]

    Permalink
    Definition Classes
    TraversableLike
  79. lazy val inradius: Double

    Permalink

    Get an inner circle in hash block

    Get an inner circle in hash block

    **For why we use this design:** Get an inradius less than closedFormInradius to solve the value error of IEEE Float

    Definition Classes
    IHashableGeoBlock
  80. def isEmpty: Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  81. def isEqual(x: IHashedIndex[Long]): Boolean

    Permalink

    isEqual function

    isEqual function

    Definition Classes
    IHashedIndex
  82. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  83. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  84. def iterator: Iterator[T]

    Permalink
    Definition Classes
    IGeoPointSet → IterableLike → GenIterableLike
  85. def last: T

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  86. def lastOption: Option[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  87. def map[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  88. def max[B >: T](implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def maxBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def min[B >: T](implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def minBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  96. def newBuilder: Builder[T, Iterable[T]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  97. val nextLayer: Map[IHashableGeoBlock, GeoPointTree[T]]

    Permalink
  98. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  100. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  101. def par: ParIterable[T]

    Permalink
    Definition Classes
    Parallelizable
  102. def parCombiner: Combiner[T, ParIterable[T]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  103. def partition(p: (T) ⇒ Boolean): (Iterable[T], Iterable[T])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  104. def product[B >: T](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def reduce[A1 >: T](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def reduceLeft[B >: T](op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  107. def reduceLeftOption[B >: T](op: (B, T) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. def reduceOption[A1 >: T](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def reduceRight[B >: T](op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  110. def reduceRightOption[B >: T](op: (T, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def repr: Iterable[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  112. def reversed: List[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  113. def sameElements[B >: T](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  114. def scan[B >: T, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  115. def scanLeft[B, That](z: B)(op: (B, T) ⇒ B)(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  116. def scanRight[B, That](z: B)(op: (T, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  117. def seq: Iterable[T]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  118. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. def slice(from: Int, until: Int): Iterable[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  120. def sliding(size: Int, step: Int): Iterator[Iterable[T]]

    Permalink
    Definition Classes
    IterableLike
  121. def sliding(size: Int): Iterator[Iterable[T]]

    Permalink
    Definition Classes
    IterableLike
  122. def span(p: (T) ⇒ Boolean): (Iterable[T], Iterable[T])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  123. def splitAt(n: Int): (Iterable[T], Iterable[T])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  124. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  125. def sum[B >: T](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  127. def tail: Iterable[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  128. def tails: Iterator[Iterable[T]]

    Permalink
    Definition Classes
    TraversableLike
  129. def take(n: Int): Iterable[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  130. def takeRight(n: Int): Iterable[T]

    Permalink
    Definition Classes
    IterableLike
  131. def takeWhile(p: (T) ⇒ Boolean): Iterable[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  132. def thisCollection: Iterable[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  133. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, T, Col[T]]): Col[T]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  134. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  135. def toBuffer[B >: T]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  136. def toCollection(repr: Iterable[T]): Iterable[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  137. def toGeoBox: GeoBox

    Permalink

    Get boundary box of hash block

    Get boundary box of hash block

    Definition Classes
    IHashableGeoBlock
  138. def toGeoJSON: JSONObject

    Permalink

    Get scala original JSON object, JSON object deprecated in Scala 2.12 but still using in 2.10

    Get scala original JSON object, JSON object deprecated in Scala 2.12 but still using in 2.10

    Definition Classes
    IGeoPointGeoJSONable
  139. def toGeoJSONString: String

    Permalink
    Definition Classes
    GeoJSONable
  140. final def toIVector2: IVector2

    Permalink

    Get Mercator projection potision as vector2

    Get Mercator projection potision as vector2

    Definition Classes
    IGeoPoint
  141. final def toIVector3: IVector3

    Permalink

    Get vector3 in R3 on 2d sphere

    Get vector3 in R3 on 2d sphere

    Definition Classes
    IGeoPoint
  142. def toIndexedSeq: IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  143. def toIterable: Iterable[T]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  144. def toIterator: Iterator[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  145. def toList: List[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  146. def toMap[T, U](implicit ev: <:<[T, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  147. def toSeq: Seq[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  148. def toSet[B >: T]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  149. def toStream: Stream[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  150. def toString(): String

    Permalink
    Definition Classes
    IGeoPoint → AnyRef → Any
  151. def toTraversable: Traversable[T]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  152. def toVector: Vector[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  153. def transpose[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  154. def unzip[A1, A2](implicit asPair: (T) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  155. def unzip3[A1, A2, A3](implicit asTriple: (T) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  156. def verifyLatitude: Unit

    Permalink

    Verify is latitude value is legal

    Verify is latitude value is legal

    Attributes
    protected
    Definition Classes
    IGeoPoint
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

  157. def verifyLongitude: Unit

    Permalink

    Verify is longitude value is legal

    Verify is longitude value is legal

    Attributes
    protected
    Definition Classes
    IGeoPoint
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

  158. def verifyValues: Unit

    Permalink

    Verify is latitude & longitude values are legal

    Verify is latitude & longitude values are legal

    Attributes
    protected
    Definition Classes
    IGeoPoint
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

  159. def view(from: Int, until: Int): IterableView[T, Iterable[T]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  160. def view: IterableView[T, Iterable[T]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  161. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  163. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  164. def withFilter(p: (T) ⇒ Boolean): FilterMonadic[T, Iterable[T]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  165. def zip[A1 >: T, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[T], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  166. def zipAll[B, A1 >: T, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[T], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  167. def zipWithIndex[A1 >: T, That](implicit bf: CanBuildFrom[Iterable[T], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  168. final def ~>(point: IGeoPoint): Double

    Permalink

    Alias of geoTo

    Alias of geoTo

    Definition Classes
    GeoDistanceMeasurable

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from IHashableGeoBlock

Inherited from IHashedIndex[Long]

Inherited from IGeoPoint

Inherited from Serializable

Inherited from Serializable

Inherited from IGeoPointSet[T]

Inherited from GeoJSONable

Inherited from Iterable[T]

Inherited from IterableLike[T, Iterable[T]]

Inherited from Equals

Inherited from GenIterable[T]

Inherited from GenIterableLike[T, Iterable[T]]

Inherited from Traversable[T]

Inherited from GenTraversable[T]

Inherited from GenericTraversableTemplate[T, Iterable]

Inherited from TraversableLike[T, Iterable[T]]

Inherited from GenTraversableLike[T, Iterable[T]]

Inherited from Parallelizable[T, ParIterable[T]]

Inherited from TraversableOnce[T]

Inherited from GenTraversableOnce[T]

Inherited from FilterMonadic[T, Iterable[T]]

Inherited from HasNewBuilder[T, Iterable[T] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyRef

Inherited from Any

Ungrouped