tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
INT_FEATURE_STRUCT Struct Reference

#include <intproto.h>

Public Member Functions

 INT_FEATURE_STRUCT ()
 
 INT_FEATURE_STRUCT (const FCOORD &pos, uint8_t theta)
 
 INT_FEATURE_STRUCT (int x, int y, int theta)
 
void print () const
 

Public Attributes

uint8_t X
 
uint8_t Y
 
uint8_t Theta
 
int8_t CP_misses
 

Constructor & Destructor Documentation

◆ INT_FEATURE_STRUCT() [1/3]

INT_FEATURE_STRUCT::INT_FEATURE_STRUCT ( )
inline

◆ INT_FEATURE_STRUCT() [2/3]

INT_FEATURE_STRUCT::INT_FEATURE_STRUCT ( const FCOORD pos,
uint8_t  theta 
)

Builds a feature from an FCOORD for position with all the necessary clipping and rounding.

◆ INT_FEATURE_STRUCT() [3/3]

INT_FEATURE_STRUCT::INT_FEATURE_STRUCT ( int  x,
int  y,
int  theta 
)

Builds a feature from ints with all the necessary clipping and casting.

Member Function Documentation

◆ print()

void INT_FEATURE_STRUCT::print ( ) const
inline

Member Data Documentation

◆ CP_misses

int8_t INT_FEATURE_STRUCT::CP_misses

◆ Theta

uint8_t INT_FEATURE_STRUCT::Theta

◆ X

uint8_t INT_FEATURE_STRUCT::X

◆ Y

uint8_t INT_FEATURE_STRUCT::Y

The documentation for this struct was generated from the following files: