Classes | Defines | Functions
core/vgl/vgl_line_segment_2d.h File Reference
#include <vcl_iosfwd.h>
#include <vgl/vgl_point_2d.h>

Go to the source code of this file.

Classes

class  vgl_line_segment_2d< Type >
 Represents a 2D line segment using two points. More...

Defines

#define VGL_LINE_SEGMENT_2D_INSTANTIATE(T)   extern "please include vgl/vgl_line_segment_2d.txx first"

Functions

template<class Type >
vcl_ostream & operator<< (vcl_ostream &s, const vgl_line_segment_2d< Type > &p)
 Write to stream.
template<class Type >
vcl_istream & operator>> (vcl_istream &is, vgl_line_segment_2d< Type > &p)
 Read from stream.

Detailed Description

Author:
mccane@cs.otago.ac.nz: but copied from vgl_line_segment_3d
   Modifications
   Peter Vanroose -  9 July 2001 - Inlined constructors
   Peter Vanroose - 27 June 2001 - Added operator==
   J.L. Mundy     - 13 April 2003 - Added angle and line coefficient functions
   

Definition in file vgl_line_segment_2d.h.


Define Documentation

#define VGL_LINE_SEGMENT_2D_INSTANTIATE (   T)    extern "please include vgl/vgl_line_segment_2d.txx first"

Definition at line 107 of file vgl_line_segment_2d.h.


Function Documentation

template<class Type >
vcl_ostream & operator<< ( vcl_ostream &  s,
const vgl_line_segment_2d< Type > &  p 
)

Write to stream.

Definition at line 10 of file vgl_line_segment_2d.txx.

template<class Type >
vcl_istream & operator>> ( vcl_istream &  is,
vgl_line_segment_2d< Type > &  p 
)

Read from stream.

Definition at line 16 of file vgl_line_segment_2d.txx.