a sphere in 3D nonhomogeneous space More...
#include "vgl_sphere_3d.h"#include <vcl_cmath.h>#include <vcl_iostream.h>#include <vgl/vgl_point_3d.h>#include <vgl/vgl_closest_point.h>#include <vgl/vgl_line_3d_2_points.h>Go to the source code of this file.
Defines | |
| #define | vgl_sphere_3d_txx_ |
| #define | VGL_SPHERE_3D_INSTANTIATE(T) |
Functions | |
| template<class T > | |
| vcl_ostream & | operator<< (vcl_ostream &os, const vgl_sphere_3d< T > &sph) |
| Writes "<vgl_sphere_3d centre=vgl_point_3d<x,y,z> radius=r)>" to stream. | |
| template<class T > | |
| vcl_istream & | operator>> (vcl_istream &is, vgl_sphere_3d< T > &sph) |
| Read from stream, possibly with formatting. | |
a sphere in 3D nonhomogeneous space
Definition in file vgl_sphere_3d.txx.
| #define VGL_SPHERE_3D_INSTANTIATE | ( | T | ) |
template class vgl_sphere_3d<T >; \ template vcl_ostream& operator<<(vcl_ostream&, vgl_sphere_3d<T >const&); \ template vcl_istream& operator>>(vcl_istream&, vgl_sphere_3d<T >&)
Definition at line 116 of file vgl_sphere_3d.txx.
| #define vgl_sphere_3d_txx_ |
Definition at line 2 of file vgl_sphere_3d.txx.
| vcl_ostream& operator<< | ( | vcl_ostream & | os, |
| const vgl_sphere_3d< T > & | sph | ||
| ) |
Writes "<vgl_sphere_3d centre=vgl_point_3d<x,y,z> radius=r)>" to stream.
Definition at line 98 of file vgl_sphere_3d.txx.
| vcl_istream& operator>> | ( | vcl_istream & | is, |
| vgl_sphere_3d< T > & | sph | ||
| ) |
Read from stream, possibly with formatting.
Either just reads 4 blank-separated numbers, or reads 4 comma-separated numbers, or reads 4 numbers in parenthesized form "(123, 321, 567, 890)"
Definition at line 109 of file vgl_sphere_3d.txx.
1.7.5.1