Home
last modified time | relevance | path

Searched refs:line_pt_1 (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
120 float x1 = line_pt_1->pos.x; in near_point()
122 float y1 = line_pt_1->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);