|
tesseract
4.00.00dev
|
#include <points.h>
Public Member Functions | |
| ICOORDELT () | |
| empty constructor More... | |
| ICOORDELT (ICOORD icoord) | |
| constructor from ICOORD More... | |
| ICOORDELT (inT16 xin, inT16 yin) | |
Public Member Functions inherited from ELIST_LINK | |
| ELIST_LINK () | |
| ELIST_LINK (const ELIST_LINK &) | |
| void | operator= (const ELIST_LINK &) |
Public Member Functions inherited from ICOORD | |
| ICOORD () | |
| empty constructor More... | |
| ICOORD (inT16 xin, inT16 yin) | |
| ~ICOORD () | |
| destructor More... | |
| inT16 | x () const |
| access function More... | |
| inT16 | y () const |
| access_function More... | |
| void | set_x (inT16 xin) |
| rewrite function More... | |
| void | set_y (inT16 yin) |
| rewrite function More... | |
| void | set_with_shrink (int x, int y) |
| Set from the given x,y, shrinking the vector to fit if needed. More... | |
| float | sqlength () const |
| find sq length More... | |
| float | length () const |
| find length More... | |
| float | pt_to_pt_sqdist (const ICOORD &pt) const |
| sq dist between pts More... | |
| float | pt_to_pt_dist (const ICOORD &pt) const |
| Distance between pts. More... | |
| float | angle () const |
| find angle More... | |
| BOOL8 | operator== (const ICOORD &other) const |
| test equality More... | |
| BOOL8 | operator!= (const ICOORD &other) const |
| test inequality More... | |
| void | rotate (const FCOORD &vec) |
| void | setup_render (ICOORD *major_step, ICOORD *minor_step, int *major, int *minor) const |
| bool | Serialize (FILE *fp) const |
| bool | DeSerialize (bool swap, FILE *fp) |
Static Public Member Functions | |
| static ICOORDELT * | deep_copy (const ICOORDELT *src) |
Additional Inherited Members | |
Protected Attributes inherited from ICOORD | |
| inT16 | xcoord |
| inT16 | ycoord |
|
inline |
Definition at line 180 of file points.h.