Classes | |
class | BALL::TVector3< T > |
Global binary operators for three-dimensional vectors. | |
template<typename T > | |
BALL_INLINE TVector3< T > | BALL::operator* (const T &a, const TVector3< T > &b) |
template<typename T > | |
std::istream & | BALL::operator>> (std::istream &s, TVector3< T > &vector) |
template<typename T > | |
std::ostream & | BALL::operator<< (std::ostream &s, const TVector3< T > &vector) |
Representation of points and vectors in three-dimensional space: class TVector3 and class Vector3
BALL_INLINE TVector3<T> BALL::operator* | ( | const T & | a, | |
const TVector3< T > & | b | |||
) | [inline] |
Multiply a vector with a scalar. The symmetric case is a member of the vector class.
std::ostream& BALL::operator<< | ( | std::ostream & | s, | |
const TVector3< T > & | vector | |||
) | [inline] |
Output operator. Writes the values of three
vector components of type T to an ostream. The components are writen in the order of x, y, z.
std::istream& BALL::operator>> | ( | std::istream & | s, | |
TVector3< T > & | vector | |||
) | [inline] |
Input operator. Reads the values of three
vector components of type T from an istream. The components are read in the order of x, y, z.