tesseract-doxygen/ccstruct/polyaprx.h File Reference

#include "tessclas.h"
#include "poutline.h"
#include "coutln.h"

Go to the source code of this file.

Defines

#define fixed_dist   20
#define point_diff(p, p1, p2)   (p).x = (p1).x - (p2).x ; (p).y = (p1).y - (p2).y
#define CROSS(a, b)   ((a).x * (b).y - (a).y * (b).x)
#define LENGTH(a)   ((a).x * (a).x + (a).y * (a).y)

Functions

OUTLINEtesspoly_outline (C_OUTLINE *c_outline, float)
EDGEPTedgesteps_to_edgepts (C_OUTLINE *c_outline, EDGEPT edgepts[])
void fix2 (EDGEPT *start, int area)
EDGEPTpoly2 (EDGEPT *startpt, int area)
void cutline (EDGEPT *first, EDGEPT *last, int area)

Define Documentation

#define CROSS ( a,
 )     ((a).x * (b).y - (a).y * (b).x)
#define fixed_dist   20
#define LENGTH (  )     ((a).x * (a).x + (a).y * (a).y)
#define point_diff ( p,
p1,
p2   )     (p).x = (p1).x - (p2).x ; (p).y = (p1).y - (p2).y

Function Documentation

void cutline ( EDGEPT first,
EDGEPT last,
int  area 
)
EDGEPT* edgesteps_to_edgepts ( C_OUTLINE c_outline,
EDGEPT  edgepts[] 
)
void fix2 ( EDGEPT start,
int  area 
)
EDGEPT* poly2 ( EDGEPT startpt,
int  area 
)
OUTLINE* tesspoly_outline ( C_OUTLINE c_outline,
float   
)
Generated on Sun Jul 18 17:10:49 2010 for Tesseract by  doxygen 1.6.3