A class to hold a homogeneous 3-vector for a 2D point.
Modifications:
Peter Vanroose - 11 Mar 97 - added operator==
Definition in file HomgPoint2D.h.
#include <vcl_iosfwd.h>
#include <vnl/vnl_double_2.h>
#include <mvl/Homg2D.h>
Go to the source code of this file.
Classes | |
| class | HomgPoint2D |
Defines | |
| #define | mvl_abs(x) ((x)<0?-(x):(x)) |
Functions | |
| vcl_istream & | operator>> (vcl_istream &is, HomgPoint2D &p) |
| Read from ASCII vcl_istream. Assumes points are stored in homogeneous form as 3 reals. | |
| vcl_ostream & | operator<< (vcl_ostream &s, const HomgPoint2D &) |
| Print to vcl_ostream as <HomgPoint2D x="" y="" z>="">. | |
| #define mvl_abs | ( | x | ) | ((x)<0?-(x):(x)) |
| vcl_ostream& operator<< | ( | vcl_ostream & | s, | |
| const HomgPoint2D & | ||||
| ) |
Print to vcl_ostream as <HomgPoint2D x="" y="" z>="">.
Definition at line 87 of file HomgPoint2D.cxx.
| vcl_istream& operator>> | ( | vcl_istream & | is, | |
| HomgPoint2D & | p | |||
| ) |
Read from ASCII vcl_istream. Assumes points are stored in homogeneous form as 3 reals.
Definition at line 95 of file HomgPoint2D.cxx.
1.5.1