CLHEP 2.0.4.7 Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
00001 // -*- C++ -*- 00002 // $Id: Plane3D.cc,v 1.4 2003/08/13 20:00:11 garren Exp $ 00003 // --------------------------------------------------------------------------- 00004 // 00005 // This file is a part of the CLHEP - a Class Library for High Energy Physics. 00006 // 00007 // Hep geometrical 3D Plane class 00008 // 00009 // Author: Evgeni Chernyaev <Evgueni.Tcherniaev@cern.ch> 00010 // 00011 // History: 00012 // 22.09.96 E.Chernyaev - initial version 00013 // 19.10.96 J.Allison - added == and <<. 00014 // 15.04.03 E.Chernyaev - CLHEP-1.9: template version 00015 00016 #include <iostream> 00017 #include "CLHEP/Geometry/defs.h" 00018 #include "CLHEP/Geometry/Plane3D.h" 00019 00020 namespace HepGeom { 00021 //-------------------------------------------------------------------------- 00022 std::ostream & 00023 operator<<(std::ostream & os, const Plane3D<float> & p) { 00024 return os 00025 << '(' << p.a() << ',' << p.b() << ',' << p.c() << ',' << p.d() << ')'; 00026 } 00027 00028 //-------------------------------------------------------------------------- 00029 std::ostream & 00030 operator<<(std::ostream & os, const Plane3D<double> & p) { 00031 return os 00032 << '(' << p.a() << ',' << p.b() << ',' << p.c() << ',' << p.d() << ')'; 00033 } 00034 } /* namespace HepGeom */