7 #ifndef BALL_MATHS_CIRCLE3_H
8 #define BALL_MATHS_CIRCLE3_H
10 #ifndef BALL_COMMON_EXCEPTION_H
14 #ifndef BALL_MATHS_VECTOR3_H
39 std::ostream& operator << (std::ostream& s, const TCircle3<T>& circle);
120 circle.
p = temp_vector;
124 circle.
n = temp_vector;
251 void dump(std::ostream& s = std::cout,
Size depth = 0)
const
258 s <<
" position: " <<
p << std::endl;
261 s <<
" normal: " <<
n << std::endl;
264 s <<
" radius: " <<
radius << std::endl;
294 #ifdef BALL_COMPILER_MSVC
306 template <
typename T>
311 s >> circle.
p >> circle.
n >> circle.
radius;
323 template <
typename T>
324 std::ostream& operator << (std::ostream& s, const TCircle3<T>& circle)
326 return s <<
'(' << circle.p
328 <<
' ' << circle.radius
334 #endif // BALL_MATHS_CIRCLE3_H
bool isLessOrEqual(const T1 &a, const T2 &b)
TCircle3(const TVector3< T > &point, const TVector3< T > &normal, const T &radius)
#define BALL_CREATE(name)
bool isEqual(const T1 &a, const T2 &b)
bool has(const TVector3< T > &point, bool on_surface=false) const
std::istream & operator>>(std::istream &is, TRegularData1D< ValueType > &grid)
Input operator.
TCircle3(const TCircle3 &circle)
BALL_EXTERN_VARIABLE const double c
void swap(TCircle3 &circle)
#define BALL_DUMP_HEADER(os, cl, ob)
TCircle3< float > Circle3
TCircle3 & operator=(const TCircle3 &circle)
bool operator!=(const TCircle3 &circle) const
bool isNotEqual(const T1 &a, const T2 &b)
bool operator==(const TCircle3 &circle) const
void set(const TVector3< T > &point, const TVector3< T > &normal, const T &rad)
#define BALL_DUMP_STREAM_PREFIX(os)
void set(const TCircle3 &circle)
void dump(std::ostream &s=std::cout, Size depth=0) const
#define BALL_DUMP_STREAM_SUFFIX(os)
#define BALL_DUMP_DEPTH(os, depth)