com.github.tsingjyujing.geo.element.immutable
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 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
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
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 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.
Get a hashed geo block