Tesseract  3.02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TPOINT Struct Reference

#include <blobs.h>

Public Member Functions

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

Public Attributes

inT16 x
 
inT16 y
 

Detailed Description

Definition at line 53 of file blobs.h.

Constructor & Destructor Documentation

TPOINT::TPOINT ( )
inline

Definition at line 54 of file blobs.h.

54 : x(0), y(0) {}
inT16 y
Definition: blobs.h:68
inT16 x
Definition: blobs.h:67
TPOINT::TPOINT ( inT16  vx,
inT16  vy 
)
inline

Definition at line 55 of file blobs.h.

55 : x(vx), y(vy) {}
inT16 y
Definition: blobs.h:68
inT16 x
Definition: blobs.h:67
TPOINT::TPOINT ( const ICOORD ic)
inline

Definition at line 56 of file blobs.h.

56 : x(ic.x()), y(ic.y()) {}
inT16 x() const
access function
Definition: points.h:52
inT16 y() const
access_function
Definition: points.h:56
inT16 y
Definition: blobs.h:68
inT16 x
Definition: blobs.h:67

Member Function Documentation

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

Definition at line 58 of file blobs.h.

58  {
59  x += other.x;
60  y += other.y;
61  }
inT16 y
Definition: blobs.h:68
inT16 x
Definition: blobs.h:67
void TPOINT::operator/= ( int  divisor)
inline

Definition at line 62 of file blobs.h.

62  {
63  x /= divisor;
64  y /= divisor;
65  }
inT16 y
Definition: blobs.h:68
inT16 x
Definition: blobs.h:67

Member Data Documentation

inT16 TPOINT::x

Definition at line 67 of file blobs.h.

inT16 TPOINT::y

Definition at line 68 of file blobs.h.


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