Append point to set
      
    
      
      
    
      
      
    
      
      
    
      Get a spherical crown to hash block
Get a spherical crown to hash block
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
    
      
    
      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
target point
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Avoid duplication in Set or key of the Map
Avoid duplication in Set or key of the Map
object to compare
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Get bound box of this block
Get bound box of this block
      
    
      Get geo distance of nearest point in set
Get geo distance of nearest point in set
      
    
      Get similarity of the route and set
Get similarity of the route and set
      
    
      草稿: 给每个Block评分,优先在符合条件的,且最近的Block里面找, 找到的符合条件的最近点的distance作为maxDistanceLimit传入下一个Block, 本质上是一个状态机 这样找最快(单核条件下),但是并行度低
草稿: 给每个Block评分,优先在符合条件的,且最近的Block里面找, 找到的符合条件的最近点的distance作为maxDistanceLimit传入下一个Block, 本质上是一个状态机 这样找最快(单核条件下),但是并行度低
如果只是确定有没有半径内的点,还可以更快一点,存在范围内的Block有点就可以返回True了
      
    
      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)
geo point
      
    
      Search all points in radius of maxDistance
Search all points in radius of maxDistance
center point
max radius
      
    
      Search point within ring
Search point within ring
center point
ring inside radius
ring outside radius
      
    
      Get points on boundary maybe the min/max distance
Get points on boundary maybe the min/max distance
reference points
      
    
      Get center point of the hash block
Get center point of the hash block
      
    
      
      
    
      Accuracy to mesh earth into N*N parts
Accuracy to mesh earth into N*N parts
      
    
      Get a unique indexCode as type T
Get a unique indexCode as type T
      
    
      decompose code tuple from code
decompose code tuple from code
      
    
      Get latitude recommended in WGS84 format
Get latitude recommended in WGS84 format
Latitude in degree
      
    
      Get latitude part of decomposed code
Get latitude part of decomposed code
      
    
      Get longitude recommended in WGS84 format
Get longitude recommended in WGS84 format
Longitude in degree
      
    
      Get longitude part of decomposed code
Get longitude part of decomposed code
      
    
      get max distance from block to point
get max distance from block to point
      
    
      Get max distance from block to this block
      
    
      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
      
    
      Get min distance from block to this block
      
    
      Query all points in set
Query all points in set
      
    
      
      
    
      
      
    
      
      
    
      Create a hashCode to accelerate operations in HashSet or HashMap ect.
Create a hashCode to accelerate operations in HashSet or HashMap ect.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      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
      
    
      
      
    
      isEqual function
isEqual function
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
    
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Get boundary box of hash block
Get boundary box of hash block
      
    
      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
      
    
      
      
    
      Get Mercator projection potision as vector2
Get Mercator projection potision as vector2
      
    
      Get vector3 in R3 on 2d sphere
Get vector3 in R3 on 2d sphere
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.
      
    
      
      
    
      
      
    
      Verify is latitude value is legal
Verify is latitude value is legal
AssertionError verify failed
      
    
      Verify is longitude value is legal
Verify is longitude value is legal
AssertionError verify failed
      
    
      Verify is latitude & longitude values are legal
Verify is latitude & longitude values are legal
AssertionError verify failed
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Alias of geoTo
Alias of geoTo
      
    
      (Since version ) see corresponding Javadoc for more information.
Layered Geo points index as an TreeSet
Type to save geo points, any type extends IGeoPoint