7 #ifndef BALL_MATHS_CIRCLE3_H
8 #define BALL_MATHS_CIRCLE3_H
10 #ifndef BALL_COMMON_EXCEPTION_H
14 #ifndef BALL_MATHS_VECTOR3_H
35 std::istream&
operator >> (std::istream& s, TCircle3<T>& circle);
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