Set of intersection functions. More...
Go to the source code of this file.
Macros | |
| #define | VGL_ALGO_INTERSECTION_INSTANTIATE(T) extern "please include vgl/algo/vgl_intersection.hxx first" |
Functions | |
| template<class T > | |
| vgl_point_3d< T > | vgl_intersection (const std::vector< vgl_plane_3d< T > > &p) |
| Return the intersection point of vector of planes. More... | |
| template<class T > | |
| vgl_infinite_line_3d< T > | vgl_intersection (const std::list< vgl_plane_3d< T > > &planes) |
| Return the intersection line of a set of planes, use list to distinguish from point return. More... | |
| template<class T > | |
| bool | vgl_intersection (const std::list< vgl_plane_3d< T > > &planes, std::vector< T > ws, vgl_infinite_line_3d< T > &line, T &residual) |
| Return the intersection line of a set of weighted planes, use list to distinguish from point return. More... | |
| template<class T > | |
| bool | vgl_intersection (vgl_box_3d< T > const &b, std::list< vgl_point_3d< T > > &p) |
| Return true if the box and polygon intersect in 3-d, regions include boundaries. More... | |
Set of intersection functions.
This file aims to gather all the intersection methods on vgl classes at one place. Some of the functions moved from their own class files to here or interface methods created for non-homogeneous versions of the ones that are already defined in vgl/algo/vgl_homg_operators_3d
Modifications 23 Jul 2009 - Gamze Tunali - added a 3D box-polygon intersection method 01 Mar 2007 - Gamze Tunali - split up into vgl/algo and vgl parts
Definition in file vgl_intersection.h.
| #define VGL_ALGO_INTERSECTION_INSTANTIATE | ( | T | ) | extern "please include vgl/algo/vgl_intersection.hxx first" |
Definition at line 56 of file vgl_intersection.h.
| vgl_point_3d< T > vgl_intersection | ( | const std::vector< vgl_plane_3d< T > > & | p | ) |
Return the intersection point of vector of planes.
Definition at line 29 of file vgl_intersection.hxx.
| vgl_infinite_line_3d< T > vgl_intersection | ( | const std::list< vgl_plane_3d< T > > & | planes | ) |
Return the intersection line of a set of planes, use list to distinguish from point return.
Definition at line 42 of file vgl_intersection.hxx.
| bool vgl_intersection | ( | const std::list< vgl_plane_3d< T > > & | planes, |
| std::vector< T > | ws, | ||
| vgl_infinite_line_3d< T > & | line, | ||
| T & | residual | ||
| ) |
Return the intersection line of a set of weighted planes, use list to distinguish from point return.
Definition at line 118 of file vgl_intersection.hxx.
| bool vgl_intersection | ( | vgl_box_3d< T > const & | b, |
| std::list< vgl_point_3d< T > > & | p | ||
| ) |
Return true if the box and polygon intersect in 3-d, regions include boundaries.
Polygon is represented as an ordered vector of 3-d points
Definition at line 212 of file vgl_intersection.hxx.
1.8.15