mbl_chord Class Reference

#include <mbl_chord.h>

List of all members.


Detailed Description

Horizontal line used in images, with integer co-ordinates.

Definition at line 13 of file mbl_chord.h.


Public Member Functions

 mbl_chord ()
 Constructor.
 mbl_chord (int start_x, int end_x, int y)
 Constructor.
int start_x () const
 X-ordinate of start.
int end_x () const
 X-ordinate of end.
int y () const
 y-ordinate.
int length () const
 Length.
void b_write (vsl_b_ostream &bfs) const
 Write to binary stream.
void b_read (vsl_b_istream &bfs)
 Read from binary stream.
bool operator== (const mbl_chord &c) const
 Comparison.

Private Attributes

int start_x_
int end_x_
int y_

Constructor & Destructor Documentation

mbl_chord::mbl_chord (  )  [inline]

Constructor.

Definition at line 21 of file mbl_chord.h.

mbl_chord::mbl_chord ( int  start_x,
int  end_x,
int  y 
) [inline]

Constructor.

Definition at line 24 of file mbl_chord.h.


Member Function Documentation

int mbl_chord::start_x (  )  const [inline]

X-ordinate of start.

Definition at line 28 of file mbl_chord.h.

int mbl_chord::end_x (  )  const [inline]

X-ordinate of end.

Definition at line 31 of file mbl_chord.h.

int mbl_chord::y (  )  const [inline]

y-ordinate.

Definition at line 34 of file mbl_chord.h.

int mbl_chord::length (  )  const [inline]

Length.

Definition at line 37 of file mbl_chord.h.

void mbl_chord::b_write ( vsl_b_ostream bfs  )  const [inline]

Write to binary stream.

Definition at line 50 of file mbl_chord.h.

void mbl_chord::b_read ( vsl_b_istream bfs  )  [inline]

Read from binary stream.

Definition at line 58 of file mbl_chord.h.

bool mbl_chord::operator== ( const mbl_chord c  )  const [inline]

Comparison.

Definition at line 65 of file mbl_chord.h.


Member Data Documentation

int mbl_chord::start_x_ [private]

Definition at line 16 of file mbl_chord.h.

int mbl_chord::end_x_ [private]

Definition at line 17 of file mbl_chord.h.

int mbl_chord::y_ [private]

Definition at line 18 of file mbl_chord.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 8 05:10:44 2009 for contrib/mul/mbl by  doxygen 1.5.1