Classes | Functions
contrib/gel/vsol/vsol_line_2d.h File Reference

Straight line segment in a 2D space. More...

#include <vsol/vsol_curve_2d.h>
#include <vsol/vsol_point_2d_sptr.h>
#include <vgl/vgl_fwd.h>
#include <vgl/vgl_homg_line_2d.h>
#include <vgl/vgl_line_segment_2d.h>
#include <vsl/vsl_binary_io.h>
#include <vcl_string.h>
#include <vcl_iosfwd.h>

Go to the source code of this file.

Classes

class  vsol_line_2d

Functions

void vsl_b_write (vsl_b_ostream &os, const vsol_line_2d *p)
 Binary save vsol_line_2d* to stream.
void vsl_b_read (vsl_b_istream &is, vsol_line_2d *&p)
 Binary load vsol_line_2d* from stream.

Detailed Description

Straight line segment in a 2D space.

The direction gives the orientation and the length of the segment

Author:
François BERTEL
Date:
2000-04-28
    Modifications
     2000-04-28 François BERTEL Creation
     2000-06-17 Peter Vanroose  Implemented all operator==()s and type info
     2001-07-03 Peter Vanroose  Added constructor from vgl_line_segment_2d
     2001-07-03 Peter Vanroose  Replaced vnl_double_2 by vgl_vector_2d
     2004-05-14 Peter Vanroose  Added describe()
   

Definition in file vsol_line_2d.h.


Function Documentation

void vsl_b_read ( vsl_b_istream is,
vsol_line_2d *&  p 
)

Binary load vsol_line_2d* from stream.

Definition at line 310 of file vsol_line_2d.cxx.

void vsl_b_write ( vsl_b_ostream os,
const vsol_line_2d p 
)

Binary save vsol_line_2d* to stream.

Definition at line 296 of file vsol_line_2d.cxx.