Classes | Macros | Functions
vgl_homg_operators_2d.h File Reference

2D homogeneous operations More...

#include <list>
#include <vector>
#include <vnl/vnl_fwd.h>
#include <vgl/vgl_fwd.h>

Go to the source code of this file.

Classes

class  vgl_homg_operators_2d< T >
 2D homogeneous operations. More...
 

Macros

#define VGL_HOMG_OPERATORS_2D_INSTANTIATE(T)   "Please #include <vgl/algo/vgl_homg_operators_2d.hxx>"
 

Functions

template<class T >
vgl_homg_point_2d< T > operator * (vnl_matrix_fixed< T, 3, 3 > const &m, vgl_homg_point_2d< T > const &p)
 Transform a point through a 3x3 projective transformation matrix. More...
 
template<class T >
vgl_homg_line_2d< T > operator * (vnl_matrix_fixed< T, 3, 3 > const &m, vgl_homg_line_2d< T > const &p)
 Transform a line through a 3x3 projective transformation matrix. More...
 

Detailed Description

2D homogeneous operations

Author
Don Hamilton, Peter Tu
Date
Feb 16 2000
  Modifications
   31-Oct-00 Peter Vanroose - signatures fixed, and std::list iterator used
   16-Mar-01 Tim Cootes     - added documentation
   29-Aug-01 Peter Vanroose - added vgl_conic functions (ported from TargetJr)
    5-Oct-01 Peter Vanroose - added compute_bounding_box functions
   15-May-03 Peter Vanroose - added implementation for closest_point()
   22-Jun-03 Peter Vanroose - std::list replaced by std::vector in lines_to_point
    3-Feb-07 Peter Vanroose - changed vnl_vector to vnl_vector_fixed
   20-Dec-10 Peter Vanroose - bug fix in conic intersection
                              (when 2 intersection pts have same y coordinate)

Definition in file vgl_homg_operators_2d.h.

Macro Definition Documentation

◆ VGL_HOMG_OPERATORS_2D_INSTANTIATE

#define VGL_HOMG_OPERATORS_2D_INSTANTIATE (   T)    "Please #include <vgl/algo/vgl_homg_operators_2d.hxx>"

Definition at line 218 of file vgl_homg_operators_2d.h.

Function Documentation

◆ operator *() [1/2]

template<class T >
vgl_homg_point_2d< T > operator * ( vnl_matrix_fixed< T, 3, 3 > const &  m,
vgl_homg_point_2d< T > const &  p 
)

Transform a point through a 3x3 projective transformation matrix.

Definition at line 898 of file vgl_homg_operators_2d.hxx.

◆ operator *() [2/2]

template<class T >
vgl_homg_line_2d< T > operator * ( vnl_matrix_fixed< T, 3, 3 > const &  m,
vgl_homg_line_2d< T > const &  p 
)

Transform a line through a 3x3 projective transformation matrix.

Definition at line 909 of file vgl_homg_operators_2d.hxx.