Geant4_10
Plane3D.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id:$
3 // ---------------------------------------------------------------------------
4 //
5 // This file is a part of the CLHEP - a Class Library for High Energy Physics.
6 //
7 // Hep geometrical 3D Plane class
8 //
9 // Author: Evgeni Chernyaev <Evgueni.Tcherniaev@cern.ch>
10 //
11 // History:
12 // 22.09.96 E.Chernyaev - initial version
13 // 19.10.96 J.Allison - added == and <<.
14 // 15.04.03 E.Chernyaev - CLHEP-1.9: template version
15 
16 #include <iostream>
17 #include "CLHEP/Geometry/Plane3D.h"
18 
19 namespace HepGeom {
20  //--------------------------------------------------------------------------
21  std::ostream &
22  operator<<(std::ostream & os, const Plane3D<float> & p) {
23  return os
24  << '(' << p.a() << ',' << p.b() << ',' << p.c() << ',' << p.d() << ')';
25  }
26 
27  //--------------------------------------------------------------------------
28  std::ostream &
29  operator<<(std::ostream & os, const Plane3D<double> & p) {
30  return os
31  << '(' << p.a() << ',' << p.b() << ',' << p.c() << ',' << p.d() << ')';
32  }
33 } /* namespace HepGeom */
const char * p
Definition: xmltok.h:285