Skip to content
Sections
Personal tools
You are here: Home » BALLView » Documentation » 1.2 » group__Vector3_html

Three-dimensional vector.
[Primitive datatypes]

Representation of points and vectors in three-dimensional space: class TVector3 and class Vector3 . More...

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) throw ()
Multiply a vector with a scalar.
template<typename T>
std::istream & BALL::operator>> (std::istream &s, TVector3< T > &vector) throw ()
Input operator.
template<typename T>
std::ostream & BALL::operator<< (std::ostream &s, const TVector3< T > &vector) throw ()
Output operator.

Detailed Description

Representation of points and vectors in three-dimensional space: class TVector3 and class Vector3 .

Function Documentation

template<typename T>
TVector3< T > BALL::operator * ( const T & a,
const TVector3< T > & b
) throw ()

Multiply a vector with a scalar.

The symmetric case is a member of the vector class.

template<typename T>
std::ostream & BALL::operator<< ( std::ostream & s,
const TVector3< T > & vector
) throw ()

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.

template<typename T>
std::istream & BALL::operator>> ( std::istream & s,
TVector3< T > & vector
) throw ()

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.

 
 

Powered by Plone

This site conforms to the following standards: