(angle-between line1 line2)
Calculates the angle between two lines via difference.
Calculates the angle between two lines via difference.
(at line t)
Returns point at a value between 0-1 of a line, 0 being the start and 1 being the end.
Returns point at a value between 0-1 of a line, 0 being the start and 1 being the end.
(direction line)
Returns the direction of a line as a unit vector
Returns the direction of a line as a unit vector
(extrude-point point length angle)
Creates a line from centerpoint with the resulting length and angle.
Creates a line from centerpoint with the resulting length and angle.
(length line)
Calculates the length of a line
Calculates the length of a line
(line-intersection line1 line2)
Returns a vector with two items. The first is the intersection between two lines. The second is a boolean of whether the intersection occurs on the line segments.
Returns a vector with two items. The first is the intersection between two lines. The second is a boolean of whether the intersection occurs on the line segments.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close