Tesseract
3.02
|
#include <blkocc.h>
Public Member Functions | |
BAND () | |
void | set (inT16 new_max_max, inT16 new_max, inT16 new_min_max, inT16 new_max_min, inT16 new_min, inT16 new_min_min) |
BOOL8 | in_minimal (float y) |
BOOL8 | in_nominal (float y) |
BOOL8 | in_maximal (float y) |
BOOL8 | range_overlaps_minimal (float y1, float y2) |
BOOL8 | range_overlaps_nominal (float y1, float y2) |
BOOL8 | range_overlaps_maximal (float y1, float y2) |
BOOL8 | range_in_minimal (float y1, float y2) |
BOOL8 | range_in_nominal (float y1, float y2) |
BOOL8 | range_in_maximal (float y1, float y2) |
Public Attributes | |
inT16 | max_max |
inT16 | max |
inT16 | min_max |
inT16 | max_min |
inT16 | min |
inT16 | min_min |
BOOL8 BAND::in_maximal | ( | float | y | ) | [inline] |
BOOL8 BAND::in_minimal | ( | float | y | ) | [inline] |
BOOL8 BAND::in_nominal | ( | float | y | ) | [inline] |
BOOL8 BAND::range_in_maximal | ( | float | y1, |
float | y2 | ||
) | [inline] |
Definition at line 226 of file blkocc.h.
{ //other range limit if (y1 > y2) return RANGE_IN_BAND (max_max, min_min, y1, y2); else return RANGE_IN_BAND (max_max, min_min, y2, y1); }
BOOL8 BAND::range_in_minimal | ( | float | y1, |
float | y2 | ||
) | [inline] |
Definition at line 208 of file blkocc.h.
{ //other range limit if (y1 > y2) return RANGE_IN_BAND (min_max, max_min, y1, y2); else return RANGE_IN_BAND (min_max, max_min, y2, y1); }
BOOL8 BAND::range_in_nominal | ( | float | y1, |
float | y2 | ||
) | [inline] |
Definition at line 217 of file blkocc.h.
{ //other range limit if (y1 > y2) return RANGE_IN_BAND (max, min, y1, y2); else return RANGE_IN_BAND (max, min, y2, y1); }
BOOL8 BAND::range_overlaps_maximal | ( | float | y1, |
float | y2 | ||
) | [inline] |
Definition at line 200 of file blkocc.h.
{ //other range limit if (y1 > y2) return RANGE_OVERLAPS_BAND (max_max, min_min, y1, y2); else return RANGE_OVERLAPS_BAND (max_max, min_min, y2, y1); }
BOOL8 BAND::range_overlaps_minimal | ( | float | y1, |
float | y2 | ||
) | [inline] |
Definition at line 182 of file blkocc.h.
{ //other range limit if (y1 > y2) return RANGE_OVERLAPS_BAND (min_max, max_min, y1, y2); else return RANGE_OVERLAPS_BAND (min_max, max_min, y2, y1); }
BOOL8 BAND::range_overlaps_nominal | ( | float | y1, |
float | y2 | ||
) | [inline] |
Definition at line 191 of file blkocc.h.
{ //other range limit if (y1 > y2) return RANGE_OVERLAPS_BAND (max, min, y1, y2); else return RANGE_OVERLAPS_BAND (max, min, y2, y1); }