Home
last modified time | relevance | path

Searched refs:line_pt_0 (Results 1 – 2 of 2) sorted by relevance

/external/tesseract/wordrec/
Doutlines.cpp113 EDGEPT *near_point(EDGEPT *point, EDGEPT *line_pt_0, EDGEPT *line_pt_1) { in near_point() argument
119 float x0 = line_pt_0->pos.x; in near_point()
121 float y0 = line_pt_0->pos.y; in near_point()
140 if (is_on_line (p, line_pt_0->pos, line_pt_1->pos) && in near_point()
141 (!same_point (p, line_pt_0->pos)) && (!same_point (p, line_pt_1->pos))) in near_point()
143 return (make_edgept (p.x, p.y, line_pt_1, line_pt_0)); in near_point()
145 return (closest (point, line_pt_0, line_pt_1)); in near_point()
Doutlines.h145 EDGEPT *near_point(EDGEPT *point, EDGEPT *line_pt_0, EDGEPT *line_pt_1);