Classes | |
class | BALL::TVector2< T > |
Typedefs | |
typedef TVector2< float > | BALL::Vector2 |
Global binary operator functions for two dimensional vectors. | |
template<typename T > | |
BALL_INLINE TVector2< T > | BALL::operator* (const T &scalar, const TVector2< T > &vector) |
template<typename T > | |
std::istream & | BALL::operator>> (std::istream &s, TVector2< T > &vector) |
template<typename T > | |
std::ostream & | BALL::operator<< (std::ostream &s, const TVector2< T > &vector) |
Representation of points and vectors in two-dimensional space: class TVector2 and class Vector2 .
typedef TVector2<float> BALL::Vector2 |
Default two-dimensional vector class. This is the class used in BALL kernel to represent points, coordinates.
BALL_INLINE TVector2< T > BALL::operator* | ( | const T & | scalar, | |
const TVector2< T > & | vector | |||
) | [inline] |
Multiply a vector with a scalar. The symmetric case is a member of the vector class.
References BALL::TVector2< T >::x, and BALL::TVector2< T >::y.
std::ostream & BALL::operator<< | ( | std::ostream & | s, | |
const TVector2< T > & | vector | |||
) | [inline] |
std::istream & BALL::operator>> | ( | std::istream & | s, | |
TVector2< T > & | vector | |||
) | [inline] |
Input stream.
References BALL::Constants::c, BALL::TVector2< T >::x, and BALL::TVector2< T >::y.