ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Plane3D.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Plane3D.cc
1 // -*- C++ -*-
2 // ---------------------------------------------------------------------------
3 //
4 // This file is a part of the CLHEP - a Class Library for High Energy Physics.
5 //
6 // Hep geometrical 3D Plane class
7 //
8 // Author: Evgeni Chernyaev <Evgueni.Tcherniaev@cern.ch>
9 //
10 // History:
11 // 22.09.96 E.Chernyaev - initial version
12 // 19.10.96 J.Allison - added == and <<.
13 // 15.04.03 E.Chernyaev - CLHEP-1.9: template version
14 
15 #include <iostream>
16 #include "CLHEP/Geometry/Plane3D.h"
17 
18 namespace HepGeom {
19  //--------------------------------------------------------------------------
20  std::ostream &
21  operator<<(std::ostream & os, const Plane3D<float> & p) {
22  return os
23  << '(' << p.a() << ',' << p.b() << ',' << p.c() << ',' << p.d() << ')';
24  }
25 
26  //--------------------------------------------------------------------------
27  std::ostream &
28  operator<<(std::ostream & os, const Plane3D<double> & p) {
29  return os
30  << '(' << p.a() << ',' << p.b() << ',' << p.c() << ',' << p.d() << ')';
31  }
32 } /* namespace HepGeom */