#include <cmath>#include <iostream>#include <string>#include "vgl_vector_3d.h"#include "vgl_tolerance.h"#include <vcl_compiler_detection.h>#include <cassert>#include <vcl_deprecated.h>Go to the source code of this file.
Macros | |
| #define | VGL_VECTOR_3D_INSTANTIATE(T) |
Functions | |
| template<class T > | |
| double | angle (vgl_vector_3d< T > const &a, vgl_vector_3d< T > const &b) |
| template<class T > | |
| bool | orthogonal (vgl_vector_3d< T > const &a, vgl_vector_3d< T > const &b, double eps) |
| template<class T > | |
| bool | parallel (vgl_vector_3d< T > const &a, vgl_vector_3d< T > const &b, double eps) |
| template<class T > | |
| vgl_vector_3d< T > | orthogonal_vectors (vgl_vector_3d< T > const &a, double s) |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &s, vgl_vector_3d< T > const &p) |
| Write "<vgl_vector_3d x,y,z> " to stream. More... | |
| template<class T > | |
| std::istream & | operator>> (std::istream &is, vgl_vector_3d< T > &p) |
| Read from stream, possibly with formatting. More... | |
| #define VGL_VECTOR_3D_INSTANTIATE | ( | T | ) |
Definition at line 204 of file vgl_vector_3d.hxx.
| double angle | ( | vgl_vector_3d< T > const & | a, |
| vgl_vector_3d< T > const & | b | ||
| ) |
Definition at line 36 of file vgl_vector_3d.hxx.
| std::ostream& operator<< | ( | std::ostream & | s, |
| vgl_vector_3d< T > const & | p | ||
| ) |
Write "<vgl_vector_3d x,y,z> " to stream.
Definition at line 125 of file vgl_vector_3d.hxx.
| std::istream & operator>> | ( | std::istream & | is, |
| vgl_vector_3d< T > & | p | ||
| ) |
Read from stream, possibly with formatting.
Either just reads three blank-separated numbers, or reads three comma-separated numbers, or reads three numbers in parenthesized form "(123, 321, 567)"
Definition at line 198 of file vgl_vector_3d.hxx.
| bool orthogonal | ( | vgl_vector_3d< T > const & | a, |
| vgl_vector_3d< T > const & | b, | ||
| double | eps | ||
| ) |
Definition at line 52 of file vgl_vector_3d.hxx.
| vgl_vector_3d<T> orthogonal_vectors | ( | vgl_vector_3d< T > const & | a, |
| double | s | ||
| ) |
Definition at line 71 of file vgl_vector_3d.hxx.
| bool parallel | ( | vgl_vector_3d< T > const & | a, |
| vgl_vector_3d< T > const & | b, | ||
| double | eps | ||
| ) |
Definition at line 62 of file vgl_vector_3d.hxx.
1.8.15