#include <cmath>
#include <cstdio>
#include "elst.h"
#include "errcode.h"
#include <tesseract/platform.h>
Go to the source code of this file.
|
ICOORD | operator! (const ICOORD &src) |
|
ICOORD | operator- (const ICOORD &src) |
|
ICOORD | operator+ (const ICOORD &op1, const ICOORD &op2) |
|
ICOORD & | operator+= (ICOORD &op1, const ICOORD &op2) |
|
ICOORD | operator- (const ICOORD &op1, const ICOORD &op2) |
|
ICOORD & | operator-= (ICOORD &op1, const ICOORD &op2) |
|
int32_t | operator% (const ICOORD &op1, const ICOORD &op2) |
|
int32_t | operator* (const ICOORD &op1, const ICOORD &op2) |
|
ICOORD | operator* (const ICOORD &op1, int16_t scale) |
|
ICOORD | operator* (int16_t scale, const ICOORD &op1) |
|
ICOORD & | operator*= (ICOORD &op1, int16_t scale) |
|
ICOORD | operator/ (const ICOORD &op1, int16_t scale) |
|
ICOORD & | operator/= (ICOORD &op1, int16_t scale) |
|
FCOORD | operator! (const FCOORD &src) |
|
FCOORD | operator- (const FCOORD &src) |
|
FCOORD | operator+ (const FCOORD &op1, const FCOORD &op2) |
|
FCOORD & | operator+= (FCOORD &op1, const FCOORD &op2) |
|
FCOORD | operator- (const FCOORD &op1, const FCOORD &op2) |
|
FCOORD & | operator-= (FCOORD &op1, const FCOORD &op2) |
|
float | operator% (const FCOORD &op1, const FCOORD &op2) |
|
float | operator* (const FCOORD &op1, const FCOORD &op2) |
|
FCOORD | operator* (const FCOORD &op1, float scale) |
|
FCOORD | operator* (float scale, const FCOORD &op1) |
|
FCOORD & | operator*= (FCOORD &op1, float scale) |
|
FCOORD | operator/ (const FCOORD &op1, float scale) |
|
FCOORD & | operator/= (FCOORD &op1, float scale) |
|
◆ operator!() [1/2]
◆ operator!() [2/2]
◆ operator%() [1/2]
◆ operator%() [2/2]
int32_t operator% |
( |
const ICOORD & |
op1, |
|
|
const ICOORD & |
op2 |
|
) |
| |
|
inline |
◆ operator*() [1/6]
◆ operator*() [2/6]
◆ operator*() [3/6]
int32_t operator* |
( |
const ICOORD & |
op1, |
|
|
const ICOORD & |
op2 |
|
) |
| |
|
inline |
◆ operator*() [4/6]
◆ operator*() [5/6]
Definition at line 671 of file points.h.
673 return op1.xcoord * op2.ycoord - op1.ycoord * op2.xcoord;
◆ operator*() [6/6]
◆ operator*=() [1/2]
◆ operator*=() [2/2]
◆ operator+() [1/2]
Definition at line 572 of file points.h.
576 result.xcoord = -src.xcoord;
577 result.ycoord = -src.ycoord;
◆ operator+() [2/2]
◆ operator+=() [1/2]
Definition at line 589 of file points.h.
594 sum.xcoord = op1.xcoord + op2.xcoord;
595 sum.ycoord = op1.ycoord + op2.ycoord;
◆ operator+=() [2/2]
◆ operator-() [1/4]
Definition at line 604 of file points.h.
610 op1.xcoord += op2.xcoord;
611 op1.ycoord += op2.ycoord;
◆ operator-() [2/4]
Definition at line 555 of file points.h.
558 result.xcoord = -src.ycoord;
559 result.ycoord = src.xcoord;
◆ operator-() [3/4]
◆ operator-() [4/4]
◆ operator-=() [1/2]
◆ operator-=() [2/2]
◆ operator/() [1/2]
◆ operator/() [2/2]
◆ operator/=() [1/2]
◆ operator/=() [2/2]