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>
326 return s <<
'(' << circle.
p
#define BALL_CREATE(name)
#define BALL_DUMP_STREAM_PREFIX(os)
#define BALL_DUMP_STREAM_SUFFIX(os)
#define BALL_DUMP_DEPTH(os, depth)
#define BALL_DUMP_HEADER(os, cl, ob)
BALL_EXPORT std::ostream & operator<<(std::ostream &os, const Exception::GeneralException &e)
TCircle3< float > Circle3
std::istream & operator>>(std::istream &is, TRegularData1D< ValueType > &grid)
Input operator.
bool isNotEqual(const T1 &a, const T2 &b)
bool isLessOrEqual(const T1 &a, const T2 &b)
bool isEqual(const T1 &a, const T2 &b)
TCircle3(const TCircle3 &circle)
bool operator!=(const TCircle3 &circle) const
TCircle3(const TVector3< T > &point, const TVector3< T > &normal, const T &radius)
bool has(const TVector3< T > &point, bool on_surface=false) const
void set(const TVector3< T > &point, const TVector3< T > &normal, const T &rad)
void get(TCircle3 &circle) const
void swap(TCircle3 &circle)
void get(TVector3< T > &point, TVector3< T > &normal, T &rhs) const
void dump(std::ostream &s=std::cout, Size depth=0) const
TCircle3 & operator=(const TCircle3 &circle)
bool operator==(const TCircle3 &circle) const
void set(const TCircle3 &circle)