clojure-hackos.utils.geometry
Utilities for computing dimensions of 2D figures
concave-area
(concave-area coord-pair)
Computes the average of the area under the given pair of co-ordinates.
distance
(distance coord-pair)
Computes the distance between two points (i.e., the length of a line segment).
line-segments
(line-segments coords)
Returns a sequence of Cartesian co-ordinates enclosing a figure with vertices at the given coords
.