CMS 3D CMS Logo

Namespaces | Functions

/data/refman/pasoursint/CMSSW_5_3_4/src/DataFormats/GeometrySurface/src/TkRotation.cc File Reference

#include "DataFormats/GeometrySurface/interface/TkRotation.h"
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  geometryDetails

Functions

template<>
std::ostream & operator<< < double > (std::ostream &s, const TkRotation< double > &rtmp)
template<>
std::ostream & operator<< < double > (std::ostream &s, const TkRotation2D< double > &rtmp)
template<>
std::ostream & operator<< < float > (std::ostream &s, const TkRotation< float > &rtmp)
template<>
std::ostream & operator<< < float > (std::ostream &s, const TkRotation2D< float > &rtmp)
void geometryDetails::TkRotationErr1 ()
void geometryDetails::TkRotationErr2 ()

Function Documentation

template<>
std::ostream& operator<< < double > ( std::ostream &  s,
const TkRotation< double > &  rtmp 
)

Definition at line 12 of file TkRotation.cc.

References TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().

                                                                                 {
  return s << " (" << rtmp.xx() << ',' << rtmp.xy() << ',' << rtmp.xz() << ")\n"
           << " (" << rtmp.yx() << ',' << rtmp.yy() << ',' << rtmp.yz() << ")\n"
           << " (" << rtmp.zx() << ',' << rtmp.zy() << ',' << rtmp.zz() << ") ";
} 
template<>
std::ostream& operator<< < double > ( std::ostream &  s,
const TkRotation2D< double > &  rtmp 
)

Definition at line 24 of file TkRotation.cc.

References TkRotation2D< T >::x(), and TkRotation2D< T >::y().

                                                                                   {
  return s << rtmp.x() << "\n" << rtmp.y();
}
template<>
std::ostream& operator<< < float > ( std::ostream &  s,
const TkRotation< float > &  rtmp 
)

Definition at line 5 of file TkRotation.cc.

References TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().

                                                                               {
  return s << " (" << rtmp.xx() << ',' << rtmp.xy() << ',' << rtmp.xz() << ")\n"
           << " (" << rtmp.yx() << ',' << rtmp.yy() << ',' << rtmp.yz() << ")\n"
           << " (" << rtmp.zx() << ',' << rtmp.zy() << ',' << rtmp.zz() << ") ";
} 
template<>
std::ostream& operator<< < float > ( std::ostream &  s,
const TkRotation2D< float > &  rtmp 
)

Definition at line 19 of file TkRotation.cc.

References TkRotation2D< T >::x(), and TkRotation2D< T >::y().

                                                                                 {
  return s << rtmp.x() << "\n" << rtmp.y();
}