00001 // -*- C++ -*- 00002 // $Id:$ 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/Plane3D.h" 00018 00019 namespace HepGeom { 00020 //-------------------------------------------------------------------------- 00021 std::ostream & 00022 operator<<(std::ostream & os, const Plane3D<float> & p) { 00023 return os 00024 << '(' << p.a() << ',' << p.b() << ',' << p.c() << ',' << p.d() << ')'; 00025 } 00026 00027 //-------------------------------------------------------------------------- 00028 std::ostream & 00029 operator<<(std::ostream & os, const Plane3D<double> & p) { 00030 return os 00031 << '(' << p.a() << ',' << p.b() << ',' << p.c() << ',' << p.d() << ')'; 00032 } 00033 } /* namespace HepGeom */