Class SlopeInterceptLine

java.lang.Object
imagingbook.common.geometry.line.AlgebraicLine
imagingbook.common.geometry.line.SlopeInterceptLine
All Implemented Interfaces:
Primitive2d, ShapeProducer

public class SlopeInterceptLine extends AlgebraicLine

This class represents a line in slope-intercept form: y = k x + d. Instances are immutable. Not all possible lines in the 2D plane can be represented. A SlopeInterceptLine is merely a AlgebraicLine with a special constructor and getter methods for k, d. See Sec. 10.1 and Appendix F.1 of [1] for details.

[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).

Version:
2022/11/18