BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs
Generic Line in Three-Dimensional Space.

Classes

class  BALL::TLine3< T >
 

Typedefs

typedef TLine3< floatBALL::Line3
 

Storers

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)
 

Detailed Description

Typedef Documentation

typedef TLine3<float> BALL::Line3

Default line of type float.

Definition at line 359 of file line3.h.

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<<

Definition at line 382 of file line3.h.

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.

Definition at line 366 of file line3.h.