Representation of points and vectors in three-dimensional space: class TVector3 and class Vector3
◆ operator*()
Multiply a vector with a scalar. The symmetric case is a member of the vector class.
Definition at line 1121 of file vector3.h.
◆ operator+()
◆ operator-()
◆ operator<<() [1/2]
template<typename T >
std::ostream & BALL::operator<< |
( |
std::ostream & |
s, |
|
|
const TVector4< T > & |
v |
|
) |
| |
Output Operator. Write the four components of the vector to an output stream. The values are enclosed by brackets.
- Example:
(0.1 2.0 0 1)
Definition at line 875 of file vector4.h.
◆ operator<<() [2/2]
template<typename T >
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.
Definition at line 1136 of file vector3.h.
◆ operator>>() [1/2]
template<typename T >
std::istream & BALL::operator>> |
( |
std::istream & |
s, |
|
|
TVector4< T > & |
v |
|
) |
| |
Input operator Reads four values of type T from an input stream and assigns them to the components x, y, z and h of the vector.
Definition at line 861 of file vector4.h.
◆ operator>>() [2/2]
template<typename T >
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.
Definition at line 1127 of file vector3.h.