Simple class to store description and constants for a line in 2D space.
Default class constructor. |
LineDescription
(object)¶Simple class to store description and constants for a line in 2D space.
__init__
(self, x=0, y=0, slope=None, c=None)¶Default class constructor.
Used internally. Do not call it in your code!
x – the x coordinate of the first point;
y – the y coordinate of the first point;
slope – the line’s slope;
c – a floating point constant.