2 #ifndef vgl_line_segment_3d_hxx_ 3 #define vgl_line_segment_3d_hxx_ 9 # include <vcl_msvc_warnings.h> 16 return s <<
"<vgl_line_segment_3d " << p.
point1() <<
" to " << p.
point2() <<
" >";
28 #undef VGL_LINE_SEGMENT_3D_INSTANTIATE 29 #define VGL_LINE_SEGMENT_3D_INSTANTIATE(Type) \ 30 template class vgl_line_segment_3d<Type >;\ 31 template std::istream& operator>>(std::istream&, vgl_line_segment_3d<Type >&);\ 32 template std::ostream& operator<<(std::ostream&, vgl_line_segment_3d<Type > const&) 34 #endif // vgl_line_segment_3d_hxx_ vgl_point_3d< Type > point1() const
void set(vgl_point_3d< Type > const &p1, vgl_point_3d< Type > const &p2)
assignment.
vgl_point_3d< Type > point2() const
Represents a cartesian 3D point.
std::ostream & operator<<(std::ostream &s, vgl_orient_box_3d< Type > const &p)
Write box to stream.
line segment in 3D nonhomogeneous space
Represents a 3D line segment using two points.
std::istream & operator>>(std::istream &is, vgl_orient_box_3d< Type > &p)
Read box from stream.