com.github.tsingjyujing.geo.basic
      
    
      
      
    
      Accuracy to mesh earth into N*N parts
      
    
      Get a unique indexCode as type T
Get a unique indexCode as type T
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      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 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
      
    
      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
      
    
      
      
    
      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 longitude recommended in WGS84 format
Get longitude recommended in WGS84 format
Longitude in degree
      
    
      Get longitude part of decomposed code
      
    
      get max distance from block to point
      
    
      Get max distance from block to this block
Get max distance from block to this block
block info
      
    
      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
Get min distance from block to this block
block info
      
    
      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
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      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
      
    
      
      
    
      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.
Squared hash of geo Which geo point can get an Long index value and get hashed.