FreeBSD.software
Home/math/p5-Math-Intersection-StraightLine

p5-Math-Intersection-StraightLine

0.05math

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-StraightLine
metacpan.org/release/Math-Intersection-StraightLine
Origin
math/p5-Math-Intersection-StraightLine
Size
17.6KiB
License
ART10, GPLv1+
Maintainer
bofh@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)