(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |