Go to the source code of this file.
Classes | |
| class | vgl_homg_line_3d_2_points< Type > |
| Represents a homogeneous 3D line using two points. More... | |
Defines | |
| #define | l vgl_homg_line_3d_2_points<Type> |
| #define | VGL_HOMG_LINE_3D_2_POINTS_INSTANTIATE(T) extern "please include vgl/vgl_homg_line_3d_2_points.txx first" |
Functions | |
| template<class Type > | |
| bool | is_ideal (l const &line, Type tol=(Type) 0) |
| Return true iff line is at infinity. | |
| template<class Type > | |
| bool | collinear (l const &l1, vgl_homg_point_3d< Type > const &p) |
| Does a line pass through a point, i.e., are the point and the line collinear?. | |
| template<class Type > | |
| bool | coplanar (l const &l1, l const &l2) |
| Are two lines coplanar, i.e., do they intersect?. | |
| template<class Type > | |
| bool | concurrent (l const &l1, l const &l2) |
| Are two lines concurrent, i.e., do they intersect?. | |
| template<class Type > | |
| bool | coplanar (l const &l1, vgl_homg_point_3d< Type > const &p1, vgl_homg_point_3d< Type > const &p2) |
| Are two points coplanar with a line?. | |
| template<class Type > | |
| bool | coplanar (l const &l1, l const &l2, l const &l3) |
| Are three lines coplanar, i.e., are they in a common plane?. | |
| template<class Type > | |
| vgl_homg_point_3d< Type > | intersection (l const &l1, l const &l2) |
| Return the intersection point of two concurrent lines. | |
| template<class Type > | |
| bool | concurrent (l const &l1, l const &l2, l const &l3) |
| Are three lines concurrent, i.e., do they pass through a common point?. | |
| template<class Type > | |
| vcl_ostream & | operator<< (vcl_ostream &s, l const &p) |
| Write to stream (verbose). | |
| template<class Type > | |
| vcl_istream & | operator>> (vcl_istream &is, l &p) |
| Read parameters from stream. | |
Modifications
Peter Vanroose - 4 July 2001 - constructors now use force_point2_infinite()
Peter Vanroose - 27 June 2001 - Added operator==
Peter Vanroose - 15 July 2002 - Added concurrent(), coplanar() and intersection()
Definition in file vgl_homg_line_3d_2_points.h.
| #define l vgl_homg_line_3d_2_points<Type> |
Definition at line 83 of file vgl_homg_line_3d_2_points.h.
| #define VGL_HOMG_LINE_3D_2_POINTS_INSTANTIATE | ( | T | ) | extern "please include vgl/vgl_homg_line_3d_2_points.txx first" |
Definition at line 158 of file vgl_homg_line_3d_2_points.h.
| bool collinear | ( | l const & | l1, |
| vgl_homg_point_3d< Type > const & | p | ||
| ) | [inline] |
Does a line pass through a point, i.e., are the point and the line collinear?.
Definition at line 95 of file vgl_homg_line_3d_2_points.h.
| bool concurrent | ( | l const & | l1, |
| l const & | l2 | ||
| ) | [inline] |
Are two lines concurrent, i.e., do they intersect?.
Are two lines concurrent, i.e., do they intersect in a finite point?.
Definition at line 107 of file vgl_homg_line_3d_2_points.h.
| bool concurrent | ( | l const & | l1, |
| l const & | l2, | ||
| l const & | l3 | ||
| ) | [inline] |
Are three lines concurrent, i.e., do they pass through a common point?.
Definition at line 136 of file vgl_homg_line_3d_2_points.h.
| bool coplanar | ( | l const & | l1, |
| l const & | l2 | ||
| ) | [inline] |
Are two lines coplanar, i.e., do they intersect?.
Are two lines coplanar, i.e., do they either intersect or are parallel?.
Definition at line 101 of file vgl_homg_line_3d_2_points.h.
| bool coplanar | ( | l const & | l1, |
| vgl_homg_point_3d< Type > const & | p1, | ||
| vgl_homg_point_3d< Type > const & | p2 | ||
| ) | [inline] |
Are two points coplanar with a line?.
Definition at line 113 of file vgl_homg_line_3d_2_points.h.
| bool coplanar | ( | l const & | l1, |
| l const & | l2, | ||
| l const & | l3 | ||
| ) | [inline] |
Are three lines coplanar, i.e., are they in a common plane?.
Definition at line 119 of file vgl_homg_line_3d_2_points.h.
| vgl_homg_point_3d< Type > intersection | ( | l const & | l1, |
| l const & | l2 | ||
| ) |
Return the intersection point of two concurrent lines.
| bool is_ideal | ( | l const & | line, |
| Type | tol = (Type)0 |
||
| ) | [inline] |
Return true iff line is at infinity.
Return true iff line is at infinity (which is always false).
Return true iff line is the line at infinity.
Definition at line 88 of file vgl_homg_line_3d_2_points.h.
| vcl_ostream& operator<< | ( | vcl_ostream & | s, |
| l const & | p | ||
| ) |
Write to stream (verbose).
| vcl_istream& operator>> | ( | vcl_istream & | is, |
| l & | p | ||
| ) |
Read parameters from stream.
1.7.5.1