2 #ifndef vgl_io_line_segment_3d_hxx_ 3 #define vgl_io_line_segment_3d_hxx_ 16 constexpr
short io_version_no = 1;
42 std::cerr <<
"I/O ERROR: vsl_b_read(vsl_b_istream&, vgl_line_segment_3d<T>&)\n" 43 <<
" Unknown version number "<<
v <<
'\n';
44 is.is().clear(std::ios::badbit);
61 #define VGL_IO_LINE_SEGMENT_3D_INSTANTIATE(T) \ 62 template void vsl_print_summary(std::ostream &, vgl_line_segment_3d<T >const&); \ 63 template void vsl_b_read(vsl_b_istream &, vgl_line_segment_3d<T > &); \ 64 template void vsl_b_write(vsl_b_ostream &, const vgl_line_segment_3d<T > &) 66 #endif // vgl_io_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.
void vsl_b_write(vsl_b_ostream &os, const vgl_line_segment_3d< T > &p)
Binary save self to stream.
vgl_point_3d< Type > point2() const
Represents a 3D line segment using two points.
void vsl_print_summary(std::ostream &os, const vgl_line_segment_3d< T > &l)
Output a human readable summary to the stream.
void vsl_b_read(vsl_b_istream &is, vgl_line_segment_3d< T > &p)
Binary load self from stream.