tesseract  3.05.02
tesseract::ConCompPt Class Reference

#include <con_comp.h>

Public Member Functions

 ConCompPt (int x, int y)
 
int x ()
 
int y ()
 
void Shift (int dx, int dy)
 
ConCompPtNext ()
 
void SetNext (ConCompPt *pt)
 

Detailed Description

Definition at line 37 of file con_comp.h.

Constructor & Destructor Documentation

◆ ConCompPt()

tesseract::ConCompPt::ConCompPt ( int  x,
int  y 
)
inline

Definition at line 39 of file con_comp.h.

39  {
40  x_ = x;
41  y_ = y;
42  next_pt_ = NULL;
43  }

Member Function Documentation

◆ Next()

ConCompPt* tesseract::ConCompPt::Next ( )
inline

Definition at line 50 of file con_comp.h.

50 { return next_pt_; }

◆ SetNext()

void tesseract::ConCompPt::SetNext ( ConCompPt pt)
inline

Definition at line 51 of file con_comp.h.

51 { next_pt_ = pt; }

◆ Shift()

void tesseract::ConCompPt::Shift ( int  dx,
int  dy 
)
inline

Definition at line 46 of file con_comp.h.

46  {
47  x_ += dx;
48  y_ += dy;
49  }

◆ x()

int tesseract::ConCompPt::x ( )
inline

Definition at line 44 of file con_comp.h.

44 { return x_; }

◆ y()

int tesseract::ConCompPt::y ( )
inline

Definition at line 45 of file con_comp.h.

45 { return y_; }

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