a plane in 3D nonhomogeneous space More...
Go to the source code of this file.
Classes | |
| class | vgl_plane_3d< T > |
| Represents a Euclidean 3D plane. More... | |
Macros | |
| #define | VGL_PLANE_3D_INSTANTIATE(T) extern "please include vgl/vgl_plane_3d.hxx first" |
Functions | |
| template<class T > | |
| bool | is_ideal (vgl_plane_3d< T > const &, T tol=(T) 0) |
| Return true iff p is the plane at infinity. More... | |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &s, const vgl_plane_3d< T > &p) |
| Write to stream. More... | |
| template<class T > | |
| std::istream & | operator>> (std::istream &is, vgl_plane_3d< T > &p) |
| Read in four plane parameters from stream. More... | |
a plane in 3D nonhomogeneous space
Modifications Peter Vanroose 6 July 2001: Added assertion in constructors Peter Vanroose 6 July 2001: Now using vgl_vector_3d for normal direction Peter Vanroose 6 July 2001: Implemented constructor from 3 points Peter Vanroose 6 July 2001: Added normal(); replaced data_[4] by a_ b_ c_ d_ Peter Vanroose 6 July 2001: Added operator== and operator!= Peter Vanroose 19 Aug. 2004: implementation of both constructors corrected Peter Vanroose 21 May 2009: istream operator>> re-implemented
Definition in file vgl_plane_3d.h.
| #define VGL_PLANE_3D_INSTANTIATE | ( | T | ) | extern "please include vgl/vgl_plane_3d.hxx first" |
Definition at line 165 of file vgl_plane_3d.h.
|
inline |
Return true iff p is the plane at infinity.
Always returns false
Definition at line 148 of file vgl_plane_3d.h.
| std::ostream & operator<< | ( | std::ostream & | s, |
| const vgl_plane_3d< T > & | p | ||
| ) |
Write to stream.
Definition at line 134 of file vgl_plane_3d.hxx.
| std::istream & operator>> | ( | std::istream & | is, |
| vgl_plane_3d< T > & | p | ||
| ) |
Read in four plane parameters from stream.
Either just reads four blank-separated numbers, or reads four comma-separated numbers, or reads four numbers in parenthesized form "(123, 321, -456, 777)" or reads a formatted line equation "123x+321y-456z+777=0"
Definition at line 143 of file vgl_plane_3d.hxx.
1.8.15