Tesseract  3.02
TPOINT Struct Reference

#include <blobs.h>

List of all members.

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.

: x(0), y(0) {}
TPOINT::TPOINT ( inT16  vx,
inT16  vy 
) [inline]

Definition at line 55 of file blobs.h.

: x(vx), y(vy) {}
TPOINT::TPOINT ( const ICOORD ic) [inline]

Definition at line 56 of file blobs.h.

: x(ic.x()), y(ic.y()) {}

Member Function Documentation

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

Definition at line 58 of file blobs.h.

                                       {
    x += other.x;
    y += other.y;
  }
void TPOINT::operator/= ( int  divisor) [inline]

Definition at line 62 of file blobs.h.

                               {
    x /= divisor;
    y /= divisor;
  }

Member Data Documentation

Definition at line 67 of file blobs.h.

Definition at line 68 of file blobs.h.


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