Line Class Reference

Lines are creases, stems, cuts, etc. They are made from CentLines. More...

Inherits Base, and LineBase.

List of all members.

Public Member Functions

 Line ()
 The main constructor.
void clear ()
 Clears all but num_.
Lineoperator= (const Line &copy)
 copy everything except number.
float angle ()
 Returns angle in radians.
void draw (PiXFrame *pf, std::ostream &ostr)
 Describe the line.


Detailed Description

Lines are creases, stems, cuts, etc. They are made from CentLines.

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.


Constructor & Destructor Documentation

Line::Line (  )  [inline]

The main constructor.

num_ is assigned by PiXFrame::add_base().


Member Function Documentation

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.


The documentation for this class was generated from the following files:

Generated on Fri Aug 1 22:02:12 2008 for pixtrace by  doxygen 1.5.5