a sphere in 3D nonhomogeneous space More...
Go to the source code of this file.
Classes | |
class | vgl_sphere_3d< Type > |
Represents a cartesian 3D point. More... | |
Defines | |
#define | VGL_SPHERE_3D_INSTANTIATE(T) extern "please include vgl/vgl_sphere_3d.txx first" |
Functions | |
template<class Type > | |
vcl_ostream & | operator<< (vcl_ostream &os, const vgl_sphere_3d< Type > &sph) |
Writes "<vgl_sphere_3d centre=vgl_point_3d<x,y,z> radius=r)>" to stream. | |
template<class Type > | |
vcl_istream & | operator>> (vcl_istream &is, vgl_sphere_3d< Type > &sph) |
Read from stream, possibly with formatting. |
a sphere in 3D nonhomogeneous space
Definition in file vgl_sphere_3d.h.
#define VGL_SPHERE_3D_INSTANTIATE | ( | T | ) | extern "please include vgl/vgl_sphere_3d.txx first" |
Definition at line 91 of file vgl_sphere_3d.h.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const vgl_sphere_3d< Type > & | sph | ||
) |
Writes "<vgl_sphere_3d centre=vgl_point_3d<x,y,z> radius=r)>" to stream.
vcl_istream& operator>> | ( | vcl_istream & | is, |
vgl_sphere_3d< Type > & | 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)"