Go to the documentation of this file.
7 #ifndef BALL_MATHS_LINE3_H
8 #define BALL_MATHS_LINE3_H
10 #ifndef BALL_COMMON_EXCEPTION_H
14 #ifndef BALL_MATHS_VECTOR3_H
148 line.
d = temp_vector;
254 return (
p == line.
p &&
d == line.
d);
263 return (
p != line.
p ||
d != line.
d);
274 T
c = (point.
x -
p.x) /
d.x;
282 T
c = (point.
y -
p.y) /
d.y;
323 void dump(std::ostream& s = std::cout,
Size depth = 0)
const
331 s <<
" position: " <<
p << std::endl;
334 s <<
" direction: " <<
d << std::endl;
365 template <
typename T>
370 s >>
c >> line.
p >> line.
d >>
c;
381 template <
typename T>
385 s <<
'(' << line.
p <<
' ' << line.
d <<
')';
390 #endif // BALL_MATHS_LINE3_H
void get(TVector3< T > &point, TVector3< T > &vector, Form form=FORM__PARAMETER) const
bool operator==(const TLine3 &line) const
#define BALL_DUMP_HEADER(os, cl, ob)
void set(const TVector3< T > &point, const TVector3< T > &vector, Form form=FORM__PARAMETER)
#define BALL_DUMP_STREAM_PREFIX(os)
bool isEqual(const T1 &a, const T2 &b)
bool has(const TVector3< T > &point) const
TLine3(const TVector3< T > &point, const TVector3< T > &vector, Form form=FORM__PARAMETER)
bool operator!=(const TLine3 &line) const
void get(TLine3 &line) const
#define BALL_DUMP_DEPTH(os, depth)
const BALL_EXTERN_VARIABLE double c
bool isNotZero(const T &t)
TLine3(const TLine3 &line)
void dump(std::ostream &s=std::cout, Size depth=0) const
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)
TLine3 & operator=(const TLine3 &line)
#define BALL_CREATE(name)
void set(const TLine3 &line)