2 #ifndef vgl_homg_point_1d_hxx_ 3 #define vgl_homg_point_1d_hxx_ 8 # include <vcl_msvc_warnings.h> 14 return s <<
"<vgl_homg_point_1d (" << p.
x() <<
',' << p.
w() <<
") > ";
20 Type x, w; s >> x >> w; p.
set(x,w);
return s;
23 #undef VGL_HOMG_POINT_1D_INSTANTIATE 24 #define VGL_HOMG_POINT_1D_INSTANTIATE(T) \ 25 template class vgl_homg_point_1d<T >; \ 26 template std::ostream& operator<<(std::ostream&, vgl_homg_point_1d<T >const&); \ 27 template std::istream& operator>>(std::istream&, vgl_homg_point_1d<T >&) 29 #endif // vgl_homg_point_1d_hxx_
a point in homogeneous 1-D space, i.e., a homogeneous pair (x,w)
std::ostream & operator<<(std::ostream &s, vgl_orient_box_3d< Type > const &p)
Write box to stream.
void set(T px, T pw)
Set x,w.
std::istream & operator>>(std::istream &is, vgl_orient_box_3d< Type > &p)
Read box from stream.
Represents a homogeneous 1-D point, i.e., a homogeneous pair (x,w).