BALL  1.4.79
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)
 

Enums

enum  BALL::TLine3< T >::Form { BALL::TLine3< T >::FORM__PARAMETER = 0, BALL::TLine3< T >::FORM__TWO_POINTS = 1 }
 

Detailed Description

Typedef Documentation

typedef TLine3<float> BALL::Line3

Default line of type float.

Definition at line 359 of file line3.h.

Enumeration Type Documentation

template<typename T>
enum BALL::TLine3::Form

form of parameter to describe the line: 0 one Point and one Vector. 1 two Points

Enumerator
FORM__PARAMETER 
FORM__TWO_POINTS 

Definition at line 60 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.