Horizontal line used in images, with integer co-ordinates. More...
#include <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_ | 
Horizontal line used in images, with integer co-ordinates.
Definition at line 14 of file mbl_chord.h.
| mbl_chord::mbl_chord | ( | ) |  [inline] | 
Constructor.
Definition at line 22 of file mbl_chord.h.
| mbl_chord::mbl_chord | ( | int | start_x, | 
| int | end_x, | ||
| int | y | ||
| ) |  [inline] | 
Constructor.
Definition at line 25 of file mbl_chord.h.
| void mbl_chord::b_read | ( | vsl_b_istream & | bfs | ) |  [inline] | 
Read from binary stream.
Definition at line 59 of file mbl_chord.h.
| void mbl_chord::b_write | ( | vsl_b_ostream & | bfs | ) | const  [inline] | 
Write to binary stream.
Definition at line 51 of file mbl_chord.h.
| int mbl_chord::end_x | ( | ) | const  [inline] | 
X-ordinate of end.
Definition at line 32 of file mbl_chord.h.
| int mbl_chord::length | ( | ) | const  [inline] | 
Length.
Definition at line 38 of file mbl_chord.h.
| bool mbl_chord::operator== | ( | const mbl_chord & | c | ) | const  [inline] | 
Comparison.
Definition at line 66 of file mbl_chord.h.
| int mbl_chord::start_x | ( | ) | const  [inline] | 
X-ordinate of start.
Definition at line 29 of file mbl_chord.h.
| int mbl_chord::y | ( | ) | const  [inline] | 
y-ordinate.
Definition at line 35 of file mbl_chord.h.
| int mbl_chord::end_x_  [private] | 
Definition at line 18 of file mbl_chord.h.
| int mbl_chord::start_x_  [private] | 
Definition at line 17 of file mbl_chord.h.
| int mbl_chord::y_  [private] | 
Definition at line 19 of file mbl_chord.h.
 1.7.5.1
 1.7.5.1