Inherits Base, and LineBase.
Public Member Functions | |
Line () | |
The main constructor. | |
void | clear () |
Clears all but num_. | |
Line & | operator= (const Line ©) |
copy everything except number. | |
float | angle () |
Returns angle in radians. | |
void | draw (PiXFrame *pf, std::ostream &ostr) |
Describe the line. |
Lines are collections of CentLines that are the longest and most constrasting that can be created. Once created, the cent_lines are destroyed.
The Line routines are not ready to be released.
Line::Line | ( | ) | [inline] |
The main constructor.
num_ is assigned by PiXFrame::add_base().
void Line::clear | ( | ) | [inline] |
Clears all but num_.
num_ is assigned by PiXFrame::add_base(char type) on allocation
Reimplemented from Base.
float Line::angle | ( | ) | [inline] |
Returns angle in radians.
Mechanical data gathered by color_measure() in lms_luv.
Reimplemented from Base.
void Line::draw | ( | PiXFrame * | pf, | |
std::ostream & | ostr | |||
) |
Describe the line.
This is used to describe the line in a dialog. It is used mostly when testing, although it could have other uses.
Reimplemented from Base.