#include <mod128.h>
Definition at line 29 of file mod128.h.
◆ DIR128() [1/3]
◆ DIR128() [2/3]
DIR128::DIR128 |
( |
int16_t |
value | ) |
|
|
inline |
◆ DIR128() [3/3]
DIR128::DIR128 |
( |
const FCOORD |
fc | ) |
|
Definition at line 65 of file mod128.cpp.
68 int high, low, current;
80 current = (high + low) / 2;
81 if (
dirtab[current] * fc >= 0)
86 while (high - low > 1);
◆ get_dir()
int8_t DIR128::get_dir |
( |
| ) |
const |
|
inline |
◆ operator+()
Definition at line 63 of file mod128.h.
68 result = dir + add.dir;
◆ operator+=()
Definition at line 71 of file mod128.h.
73 *
this = dir + add.dir;
◆ operator-()
int8_t DIR128::operator- |
( |
const DIR128 & |
minus | ) |
const |
|
inline |
Definition at line 51 of file mod128.h.
55 int16_t result = dir - minus.dir;
61 return (int8_t) result;
◆ operator=()
DIR128& DIR128::operator= |
( |
int16_t |
value | ) |
|
|
inline |
The documentation for this class was generated from the following files:
- /usr/src/tesseract-ocr.master/src/ccstruct/mod128.h
- /usr/src/tesseract-ocr.master/src/ccstruct/mod128.cpp