#include <points.h>
|
FCOORD | operator! (const FCOORD &) |
| rotate 90 deg anti More...
|
|
FCOORD | operator- (const FCOORD &) |
| unary minus More...
|
|
FCOORD | operator+ (const FCOORD &, const FCOORD &) |
| add More...
|
|
FCOORD & | operator+= (FCOORD &, const FCOORD &) |
| add More...
|
|
FCOORD | operator- (const FCOORD &, const FCOORD &) |
| subtract More...
|
|
FCOORD & | operator-= (FCOORD &, const FCOORD &) |
| subtract More...
|
|
float | operator% (const FCOORD &, const FCOORD &) |
| scalar product More...
|
|
float | operator* (const FCOORD &, const FCOORD &) |
| cross product More...
|
|
FCOORD | operator* (const FCOORD &, float) |
| multiply More...
|
|
FCOORD | operator* (float, const FCOORD &) |
| multiply More...
|
|
FCOORD & | operator*= (FCOORD &, float) |
| multiply More...
|
|
FCOORD | operator/ (const FCOORD &, float) |
| divide More...
|
|
FCOORD & | operator/= (FCOORD &, float) |
| divide More...
|
|
◆ FCOORD() [1/3]
◆ FCOORD() [2/3]
FCOORD::FCOORD |
( |
float |
xvalue, |
|
|
float |
yvalue |
|
) |
| |
|
inline |
constructor
- Parameters
-
xvalue | x value |
yvalue | y value |
◆ FCOORD() [3/3]
FCOORD::FCOORD |
( |
ICOORD |
icoord | ) |
|
|
inline |
◆ angle()
float FCOORD::angle |
( |
| ) |
const |
|
inline |
◆ angle_from_direction()
double FCOORD::angle_from_direction |
( |
uint8_t |
direction | ) |
|
|
static |
◆ binary_angle_plus_pi()
uint8_t FCOORD::binary_angle_plus_pi |
( |
double |
angle | ) |
|
|
static |
◆ from_direction()
void FCOORD::from_direction |
( |
uint8_t |
direction | ) |
|
◆ length()
float FCOORD::length |
( |
| ) |
const |
|
inline |
◆ nearest_pt_on_line()
FCOORD FCOORD::nearest_pt_on_line |
( |
const FCOORD & |
line_point, |
|
|
const FCOORD & |
dir_vector |
|
) |
| const |
◆ normalise()
bool FCOORD::normalise |
( |
| ) |
|
◆ operator!=()
◆ operator==()
bool FCOORD::operator== |
( |
const FCOORD & |
other | ) |
|
|
inline |
◆ pt_to_pt_dist()
float FCOORD::pt_to_pt_dist |
( |
const FCOORD & |
pt | ) |
const |
|
inline |
◆ pt_to_pt_sqdist()
float FCOORD::pt_to_pt_sqdist |
( |
const FCOORD & |
pt | ) |
const |
|
inline |
◆ rotate()
void FCOORD::rotate |
( |
const FCOORD |
vec | ) |
|
|
inline |
◆ set_x()
void FCOORD::set_x |
( |
float |
xin | ) |
|
|
inline |
◆ set_y()
void FCOORD::set_y |
( |
float |
yin | ) |
|
|
inline |
◆ sqlength()
float FCOORD::sqlength |
( |
| ) |
const |
|
inline |
◆ to_direction()
uint8_t FCOORD::to_direction |
( |
| ) |
const |
◆ unrotate()
void FCOORD::unrotate |
( |
const FCOORD & |
vec | ) |
|
|
inline |
◆ x()
float FCOORD::x |
( |
| ) |
const |
|
inline |
◆ y()
float FCOORD::y |
( |
| ) |
const |
|
inline |
◆ operator!
◆ operator%
◆ operator* [1/3]
◆ operator* [2/3]
◆ operator* [3/3]
◆ operator*=
◆ operator+
◆ operator+=
◆ operator- [1/2]
◆ operator- [2/2]
◆ operator-=
◆ operator/
◆ operator/=
◆ xcoord
◆ ycoord
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccstruct/points.h
- /home/stephane/src/tesseract/src/ccstruct/points.cpp