Go to the documentation of this file.
21 #ifndef __sphere_hpp__
22 #define __sphere_hpp__
78 auto dist2 =
dot(cPoint,cPoint);
126 iOstream&
operator << (iOstream& os,
const sphere& b);
132 #endif // __sphere_hpp__
const INLINE_FUNCTION_HD realx3 & center() const
FUNCTION_H bool write(iOstream &os) const
INLINE_FUNCTION_HD realx3 maxPoint() const
INLINE_FUNCTION_HD T dot(const quadruple< T > &oprnd1, const quadruple< T > &oprnd2)
FUNCTION_H bool read(iIstream &is)
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
INLINE_FUNCTION_HD realx3 minPoint() const
FUNCTION_H sphere(const realx3 ¢er, const real radius)
INLINE_FUNCTION_HD real sqrt(real x)
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_HD real radius() const
FUNCTION_HD sphere & operator=(const sphere &)=default
INLINE_FUNCTION_HD bool isInside(const realx3 &point) const