All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

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  }
#define NULL
Definition: host.h:144

Member Function Documentation

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

Definition at line 50 of file con_comp.h.

50 { return next_pt_; }
void tesseract::ConCompPt::SetNext ( ConCompPt pt)
inline

Definition at line 51 of file con_comp.h.

51 { next_pt_ = pt; }
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  }
int tesseract::ConCompPt::x ( )
inline

Definition at line 44 of file con_comp.h.

44 { return x_; }
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: