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. |
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.
((0 0 0) (1 2 1))
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.