Inheritance diagram for LineInfo:
Public Member Functions | |
LineInfo () | |
LineInfo (double ax, double ay, double bx, double by) | |
double | getX1 () |
double | getY1 () |
double | getX2 () |
double | getY2 () |
double | getSlope () |
bool | isAlongX () |
double | getYForX (double x) |
double | getXForY (double y) |
void | print (FILE *fp) |
void | markImage (Data2D< int > img, int val) |
double | getDist (const double &x, const double &y) |
int | getNumMatch (const PtArray_t &x, const PtArray_t &y, int thresh) |
Protected Attributes | |
double | x1 |
double | y1 |
double | x2 |
double | y2 |
LineInfo::LineInfo | ( | ) | [inline] |
LineInfo::LineInfo | ( | double | ax, | |
double | ay, | |||
double | bx, | |||
double | by | |||
) | [inline] |
double LineInfo::getDist | ( | const double & | x, | |
const double & | y | |||
) | [inline] |
int LineInfo::getNumMatch | ( | const PtArray_t & | x, | |
const PtArray_t & | y, | |||
int | thresh | |||
) | [inline] |
double LineInfo::getSlope | ( | ) | [inline] |
double LineInfo::getX1 | ( | ) | [inline] |
double LineInfo::getX2 | ( | ) | [inline] |
double LineInfo::getXForY | ( | double | y | ) | [inline] |
double LineInfo::getY1 | ( | ) | [inline] |
double LineInfo::getY2 | ( | ) | [inline] |
double LineInfo::getYForX | ( | double | x | ) | [inline] |
bool LineInfo::isAlongX | ( | ) | [inline] |
void LineInfo::markImage | ( | Data2D< int > | img, | |
int | val | |||
) | [inline] |
void LineInfo::print | ( | FILE * | fp | ) | [inline] |
double LineInfo::x1 [protected] |
double LineInfo::x2 [protected] |
double LineInfo::y1 [protected] |
double LineInfo::y2 [protected] |