Liking cljdoc? Tell your friends :D

geo-yoots.sphere.distance.core


-min-polyline-edgeclj

(-min-polyline-edge pt vertices)
source

-to-circleclj

(-to-circle pt center radius)
source

-to-polygonclj

(-to-polygon pt vertices)
source

-to-polylineclj

(-to-polyline pt vertices)
source

-within-distance-to-polygon?clj

(-within-distance-to-polygon? limit pt vertices)
source

-within-distance-to-polyline?clj

(-within-distance-to-polyline? limit pt vertices)
source

alongtrack-distance2clj

(alongtrack-distance2 dist13
                      ct-dist
                      &
                      {:keys [radius] :or {radius geo.const/earth-radius}})

Computes alongtrack distance. Uses precomputed distance and crosstrack values.

Computes alongtrack distance.
Uses precomputed distance and crosstrack values.
sourceraw docstring

alt-distanceclj

(alt-distance [lat1 lon1]
              [lat2 lon2]
              &
              {:keys [radius] :or {radius geo.const/earth-radius}})
source

bearingclj

(bearing [lat1 lon1] [lat2 lon2])
source

crossarc-distanceclj

(crossarc-distance pt
                   l1
                   l2
                   &
                   {:keys [radius] :or {radius geo.const/earth-radius}})

Calculates crosstrack distance

Calculates crosstrack distance
sourceraw docstring

crosstrack-distanceclj

(crosstrack-distance pt
                     l1
                     l2
                     &
                     {:keys [radius] :or {radius geo.const/earth-radius}})
source

crosstrack-distance2clj

(crosstrack-distance2 dist13
                      b13
                      b12
                      &
                      {:keys [radius] :or {radius geo.const/earth-radius}})

Calculate crosstrack distance. Uses precomputed bearing and distance values

Calculate crosstrack distance.
Uses precomputed bearing and distance values
sourceraw docstring

haversineclj

(haversine [lat1 lon1]
           [lat2 lon2]
           &
           {:keys [radius] :or {radius geo.const/earth-radius}})

Measures great cirlce distance of two points.

Measures great cirlce distance of two points.
sourceraw docstring

min-polyline-edgeclj

(min-polyline-edge pt vertices)
source

normalized-bearingclj

(normalized-bearing p1 p2)

Normalize to compass bearing (0 - 360)

Normalize to compass bearing (0 - 360)
sourceraw docstring

relative-bearingclj

(relative-bearing b13 b12)
source

to-circleclj

(to-circle pt center radius)
source

to-pointclj

(to-point p1 p2)
source

to-polygonclj

(to-polygon pt vertices)
source

to-polylineclj

(to-polyline pt vertices)
source

within-distance-to-circle?clj

(within-distance-to-circle? limit pt center radius)
source

within-distance-to-polygon?clj

(within-distance-to-polygon? limit pt vertices)
source

within-distance-to-polyline?clj

(within-distance-to-polyline? limit pt vertices)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close