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

Collaboration diagram for Generic Line in Three-Dimensional Space.:

Classes

class BALL::TLine3< T >
Generic Line in Three-Dimensional Space. More...

Typedefs

typedef TLine3< float > BALL::Line3
Default line of type float.

Storers

Stream operators of Line3

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

Function Documentation

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

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
)

Input operator.

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

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


Generated on Thu Aug 6 18:30:00 2009 for BALL by doxygen 1.5.8