MCPcopy Create free account
hub / github.com/creatale/node-dv / contains

Method contains

deps/tesseract/ccstruct/rect.h:323–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321 **********************************************************************/
322
323inline bool TBOX::contains(const FCOORD pt) const {
324 return ((pt.x () >= bot_left.x ()) &&
325 (pt.x () <= top_right.x ()) &&
326 (pt.y () >= bot_left.y ()) && (pt.y () <= top_right.y ()));
327}
328
329
330/**********************************************************************

Callers 15

LoadFontInfoMethod · 0.45
LoadXHeightsMethod · 0.45
CreateIntTemplatesMethod · 0.45
eval_word_spacingMethod · 0.45
count_outline_errsMethod · 0.45
output_passMethod · 0.45
reject_I_1_LMethod · 0.45
one_ell_conflictMethod · 0.45
dont_allow_1IlMethod · 0.45

Calls 2

xMethod · 0.45
yMethod · 0.45

Tested by 1

TestWeakIntersectedPartFunction · 0.36