#include <mod128.h>
List of all members.
Detailed Description
Definition at line 29 of file mod128.h.
Constructor & Destructor Documentation
DIR128::DIR128 |
( |
inT16 |
value | ) |
|
|
inline |
DIR128::DIR128 |
( |
const FCOORD |
fc | ) |
|
Definition at line 66 of file mod128.cpp.
{
int high, low, current;
low = 0;
dir = 0;
else
return;
}
do {
current = (high + low) / 2;
if (
dirtab[current] * fc >= 0)
low = current;
else
high = current;
}
while (high - low > 1);
dir = low;
}
Member Function Documentation
inT8 DIR128::get_dir |
( |
| ) |
const |
|
inline |
Definition at line 64 of file mod128.h.
{
result = dir + add.dir;
return result;
}
Definition at line 72 of file mod128.h.
{
*this = dir + add.dir;
return *this;
}
inT8 DIR128::operator- |
( |
const DIR128 & |
minus | ) |
const |
|
inline |
Definition at line 52 of file mod128.h.
{
inT16 result = dir - minus.dir;
}
Definition at line 44 of file mod128.h.
{
if (value < 0)
return *this;
}
ICOORD DIR128::vector |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- /mnt/data/src/tesseract-ocr/ccstruct/mod128.h
- /mnt/data/src/tesseract-ocr/ccstruct/mod128.cpp