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

#include <blobs.h>

Public Member Functions

 TPOINT ()
 
 TPOINT (int16_t vx, int16_t vy)
 
 TPOINT (const ICOORD &ic)
 
void operator+= (const TPOINT &other)
 
void operator/= (int divisor)
 
bool operator== (const TPOINT &other) const
 

Static Public Member Functions

static bool IsCrossed (const TPOINT &a0, const TPOINT &a1, const TPOINT &b0, const TPOINT &b1)
 

Public Attributes

int16_t x
 
int16_t y
 

Constructor & Destructor Documentation

◆ TPOINT() [1/3]

TPOINT::TPOINT ( )
inline

◆ TPOINT() [2/3]

TPOINT::TPOINT ( int16_t  vx,
int16_t  vy 
)
inline

◆ TPOINT() [3/3]

TPOINT::TPOINT ( const ICOORD ic)
inline

Member Function Documentation

◆ IsCrossed()

bool TPOINT::IsCrossed ( const TPOINT a0,
const TPOINT a1,
const TPOINT b0,
const TPOINT b1 
)
static

◆ operator+=()

void TPOINT::operator+= ( const TPOINT other)
inline

◆ operator/=()

void TPOINT::operator/= ( int  divisor)
inline

◆ operator==()

bool TPOINT::operator== ( const TPOINT other) const
inline

Member Data Documentation

◆ x

int16_t TPOINT::x

◆ y

int16_t TPOINT::y

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