AGW Logo

agw_title LineDescription

Simple class to store description and constants for a line in 2D space.

hierarchy Inheritance Diagram

Inheritance diagram for: LineDescription

Inheritance diagram of LineDescription


method_summary Methods Summary

__init__Default class constructor.

API 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

Table Of Contents

Previous topic

HSVWheel

Next topic

RGBCube