#include "vgl_line_2d.h"#include <vcl_cmath.h>#include <vcl_cassert.h>#include <vcl_iostream.h>#include <vgl/vgl_point_2d.h>#include <vgl/vgl_homg_line_2d.h>Go to the source code of this file.
Defines | |
| #define | vgl_line_2d_txx_ |
| #define | vp(os, v, s) |
| #define | VGL_LINE_2D_INSTANTIATE(T) |
Functions | |
| template<class Type > | |
| vcl_ostream & | operator<< (vcl_ostream &os, vgl_line_2d< Type > const &l) |
| Write line description to stream: "<vgl_line_2d ax+by+c=0>". | |
| template<class Type > | |
| vcl_istream & | operator>> (vcl_istream &is, vgl_line_2d< Type > &line) |
| Read in three line parameters from stream. | |
Definition in file vgl_line_2d.txx.
| #define VGL_LINE_2D_INSTANTIATE | ( | T | ) |
template class vgl_line_2d<T >; \ template vcl_ostream& operator<<(vcl_ostream&, vgl_line_2d<T >const&); \ template vcl_istream& operator>>(vcl_istream&, vgl_line_2d<T >&)
Definition at line 151 of file vgl_line_2d.txx.
| #define vgl_line_2d_txx_ |
Definition at line 3 of file vgl_line_2d.txx.
| #define vp | ( | os, | |
| v, | |||
| s | |||
| ) |
| vcl_ostream& operator<< | ( | vcl_ostream & | os, |
| vgl_line_2d< Type > const & | l | ||
| ) |
Write line description to stream: "<vgl_line_2d ax+by+c=0>".
Definition at line 97 of file vgl_line_2d.txx.
| vcl_istream& operator>> | ( | vcl_istream & | is, |
| vgl_line_2d< Type > & | line | ||
| ) |
Read in three line parameters from stream.
Either just reads three blank-separated numbers, or reads three comma-separated numbers, or reads three numbers in parenthesized form "(123, 321, 567)" or reads the formatted form "123x+321y+567=0"
Definition at line 111 of file vgl_line_2d.txx.
1.7.5.1