This is the Math::Line class.
Represents a line.
$line = Line($m: Num, $c: Num)
Creates a line given slope and y-intercept.
$line = Line($m: Num, $pt: Point)
Creates a line given slope and a point.
-
m: Num - Slope.
-
pt: Point - Point on the line.
$line.m
Property. Slope.
$line.slope
Computed property. Slope. Same as m
.
$line.formula
Computed property. Formula in slope-intercept notation.
$line == ($ehs: Line)
Equality of two lines.
End of the Math::Line class.
This file was generated automatically by the Ferret compiler from Line.frt.