a sphere in 3D nonhomogeneous space More...
#include <cmath>#include <iostream>#include "vgl_sphere_3d.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.
Macros | |
| #define | VGL_SPHERE_3D_INSTANTIATE(T) |
Functions | |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &os, const vgl_sphere_3d< T > &sph) |
| Writes "<vgl_sphere_3d centre=vgl_point_3d<x,y,z> radius=r)>" to stream. More... | |
| template<class T > | |
| std::istream & | operator>> (std::istream &is, vgl_sphere_3d< T > &sph) |
| Read from stream, possibly with formatting. More... | |
a sphere in 3D nonhomogeneous space
Definition in file vgl_sphere_3d.hxx.
| #define VGL_SPHERE_3D_INSTANTIATE | ( | T | ) |
Definition at line 152 of file vgl_sphere_3d.hxx.
| std::ostream& operator<< | ( | std::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 134 of file vgl_sphere_3d.hxx.
| std::istream& operator>> | ( | std::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 145 of file vgl_sphere_3d.hxx.
1.8.15