Generic Line in Three-Dimensional Space.
[Geometric objects]


Classes

class  BALL::TLine3< T >

Typedefs

typedef TLine3< floatBALL::Line3

Storers

Stream operators of Line3



template<typename T >
std::ostream & BALL::operator<< (std::ostream &s, const TLine3< T > &line)
template<typename T >
std::istream & BALL::operator>> (std::istream &s, TLine3< T > &line)

Typedef Documentation

typedef TLine3<float> BALL::Line3

Default line of type float.


Function Documentation

template<typename T >
std::ostream & BALL::operator<< ( std::ostream &  s,
const TLine3< T > &  line 
) [inline]

Output operator. Writes the two public attributes d and p to an output stream. The values of the two vectors are enclosed in brackets.

Example:
((0 0 0) (1 2 1))
See also:
TVector3::operator<<
template<typename T >
std::istream & BALL::operator>> ( std::istream &  s,
TLine3< T > &  line 
) [inline]

Input operator. Reads two objcts of type TVector3 from an istream and assigns them to d and p.

References BALL::Constants::c, BALL::TLine3< T >::d, and BALL::TLine3< T >::p.