Go to the documentation of this file.
5 #ifndef BALL_MATHS_SPHERE3_H
6 #define BALL_MATHS_SPHERE3_H
8 #ifdef BALL_HAS_IEEEFP_H
14 #ifndef BALL_MATHS_PLANE3_H
18 #ifndef BALL_MATHS_VECTOR3_H
100 sphere.
p = temp_point;
227 void dump(std::ostream& s = std::cout,
Size depth = 0)
const
235 s <<
" position: " <<
p << std::endl;
238 s <<
" radius: " <<
radius << std::endl;
270 template <
typename T>
275 s >>
c >> sphere.
p >> sphere.
radius >>
c;
285 template <
typename T>
289 s <<
'(' << sphere.
p <<
' ' << sphere.
radius <<
')';
303 #endif // BALL_MATHS_SPHERE3_H
TSphere3< float > Sphere3
bool isNotEqual(const T1 &a, const T2 &b)
#define BALL_DUMP_HEADER(os, cl, ob)
void get(TSphere3 &sphere) const
void swap(TSphere3 &sphere)
void set(const TVector3< T > &point, const T &r)
#define BALL_DUMP_STREAM_PREFIX(os)
bool isEqual(const T1 &a, const T2 &b)
TSphere3(const TSphere3 &sphere)
bool operator==(const TSphere3 &sphere) const
void get(TVector3< T > &point, T &r) const
#define BALL_DUMP_DEPTH(os, depth)
bool isLessOrEqual(const T1 &a, const T2 &b)
void dump(std::ostream &s=std::cout, Size depth=0) const
const BALL_EXTERN_VARIABLE double c
bool has(const TVector3< T > &point, bool on_surface=false) const
TSphere3 & operator=(const TSphere3 &sphere)
TSphere3(const TVector3< T > &point, const T &radius)
BALL_EXPORT std::ostream & operator<<(std::ostream &os, const Exception::GeneralException &e)
std::istream & operator>>(std::istream &is, TRegularData1D< ValueType > &grid)
Input operator.
#define BALL_DUMP_STREAM_SUFFIX(os)
#define BALL_CREATE(name)
bool operator!=(const TSphere3 &sphere) const
void set(const TSphere3 &sphere)