LineDescription
Simple class to store description and constants for a line in 2D space.
Inheritance Diagram
Inheritance diagram for: LineDescription
Methods Summary
Class API
-
class LineDescription(object)[source]
Simple class to store description and constants for a line in 2D space.
-
__init__(x=0, y=0, slope=None, c=None)[source]
Default class constructor.
Used internally. Do not call it in your code!
Parameters: |
- 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.
|
Tree