Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

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


Classes

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

Storers

Stream operators of Line3

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

Typedefs

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

Detailed Description


Typedef Documentation

typedef TLine3<float> Line3
 

Default line of type float.


Function Documentation

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

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 & operator>> std::istream &  s,
TLine3< T > &  line
throw ()
 

Input operator.

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