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

#include <blobs.h>

Collaboration diagram for EDGEPT:

Public Member Functions

 EDGEPT ()
 
 EDGEPT (const EDGEPT &src)
 
EDGEPToperator= (const EDGEPT &src)
 
void CopyFrom (const EDGEPT &src)
 
int WeightedDistance (const EDGEPT &other, int x_factor) const
 
bool EqualPos (const EDGEPT &other) const
 
TBOX SegmentBox (const EDGEPT *end) const
 
int SegmentArea (const EDGEPT *end) const
 
bool ShortNonCircularSegment (int min_points, const EDGEPT *end) const
 
void Hide ()
 
void Reveal ()
 
bool IsHidden () const
 
void MarkChop ()
 
bool IsChopPt () const
 

Public Attributes

TPOINT pos
 
VECTOR vec
 
char flags [4]
 
EDGEPTnext
 
EDGEPTprev
 
C_OUTLINEsrc_outline
 
int start_step
 
int step_count
 

Constructor & Destructor Documentation

◆ EDGEPT() [1/2]

EDGEPT::EDGEPT ( )
inline

◆ EDGEPT() [2/2]

EDGEPT::EDGEPT ( const EDGEPT src)
inline

Member Function Documentation

◆ CopyFrom()

void EDGEPT::CopyFrom ( const EDGEPT src)
inline

◆ EqualPos()

bool EDGEPT::EqualPos ( const EDGEPT other) const
inline

◆ Hide()

void EDGEPT::Hide ( )
inline

◆ IsChopPt()

bool EDGEPT::IsChopPt ( ) const
inline

◆ IsHidden()

bool EDGEPT::IsHidden ( ) const
inline

◆ MarkChop()

void EDGEPT::MarkChop ( )
inline

◆ operator=()

EDGEPT& EDGEPT::operator= ( const EDGEPT src)
inline

◆ Reveal()

void EDGEPT::Reveal ( )
inline

◆ SegmentArea()

int EDGEPT::SegmentArea ( const EDGEPT end) const
inline

◆ SegmentBox()

TBOX EDGEPT::SegmentBox ( const EDGEPT end) const
inline

◆ ShortNonCircularSegment()

bool EDGEPT::ShortNonCircularSegment ( int  min_points,
const EDGEPT end 
) const
inline

◆ WeightedDistance()

int EDGEPT::WeightedDistance ( const EDGEPT other,
int  x_factor 
) const
inline

Member Data Documentation

◆ flags

char EDGEPT::flags[4]

◆ next

EDGEPT* EDGEPT::next

◆ pos

TPOINT EDGEPT::pos

◆ prev

EDGEPT* EDGEPT::prev

◆ src_outline

C_OUTLINE* EDGEPT::src_outline

◆ start_step

int EDGEPT::start_step

◆ step_count

int EDGEPT::step_count

◆ vec

VECTOR EDGEPT::vec

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