Calculate intersection point for two lines
This module calculates the intersection point of two straight lines (if one exists). It returns 0, if no intersection point exists. If the lines have an intersection point, the coordinates of the point are the returnvalue. If the given lines have infinite intersection points, -1 is returned.
$
pkg install p5-Math-Intersection-StraightLineOrigin
math/p5-Math-Intersection-StraightLine
Size
17.6KiB
License
ART10, GPLv1+
Maintainer
bofh@FreeBSD.org
Dependencies
1 packages
Required by
0 packages