tesseract
4.0.0-1-g2a2b
|
#include <cmath>
Go to the source code of this file.
Macros | |
#define | point_diff(p, p1, p2) |
#define | CROSS(a, b) ((a).x * (b).y - (a).y * (b).x) |
#define | SCALAR(a, b) ((a).x * (b).x + (a).y * (b).y) |
#define | LENGTH(a) ((a).x * (a).x + (a).y * (a).y) |
Functions | |
int | direction (EDGEPT *point) |
#define CROSS | ( | a, | |
b | |||
) | ((a).x * (b).y - (a).y * (b).x) |
Definition at line 52 of file vecfuncs.h.
#define LENGTH | ( | a | ) | ((a).x * (a).x + (a).y * (a).y) |
Definition at line 70 of file vecfuncs.h.
#define point_diff | ( | p, | |
p1, | |||
p2 | |||
) |
Definition at line 42 of file vecfuncs.h.
#define SCALAR | ( | a, | |
b | |||
) | ((a).x * (b).x + (a).y * (b).y) |
Definition at line 61 of file vecfuncs.h.
int direction | ( | EDGEPT * | point | ) |
direction to return
prev point
next point
Definition at line 43 of file vecfuncs.cpp.