BSD Ports

math/p5-Math-Intersection-StraightLine 0.05 DragonFly

Calculate intersection point for two lines

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
math, perl5
Package size
7.9 KiB, 17.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlymath/p5-Math-Intersection-StraightLine0.05
FreeBSDmath/p5-Math-Intersection-StraightLine0.05

Install

Binary package:

pkg install p5-Math-Intersection-StraightLine

From DPorts:

cd /usr/dports/math/p5-Math-Intersection-StraightLine && make install clean

Dependencies

Run dependencies 1

No port depends on this one.