|
Classes |
|
| class | BALL::TVector3< T > |
| Generic Three-Dimensional Vector.
More... |
|
Global binary operators for three-dimensional vectors. |
|
| template<typename T > | |
| TVector3< T > | BALL::operator* (const T &a, const TVector3< T > &b) |
| Multiply a vector with a scalar.
|
|
| template<typename T > | |
| std::istream & | BALL::operator>> (std::istream &s, TVector3< T > &vector) |
| Input operator. |
|
| template<typename T > | |
| std::ostream & | BALL::operator<< (std::ostream &s, const TVector3< T > &vector) |
| Output operator. |
|
| TVector3< T > BALL::operator* | ( | const T & | a, | |
| const TVector3< T > & | b | |||
| ) |
Multiply a vector with a scalar.
The symmetric case is a member of the vector class.
References BALL::TVector3< T >::x, BALL::TVector3< T >::y, and BALL::TVector3< T >::z.
| std::ostream & BALL::operator<< | ( | std::ostream & | s, | |
| const TVector3< T > & | vector | |||
| ) |
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 | |||
| ) |
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.
References BALL::TVector3< T >::x, BALL::TVector3< T >::y, and BALL::TVector3< T >::z.
1.5.8