CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
Geometry
src
Plane3D.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id: Plane3D.cc,v 1.4 2003/08/13 20:00:11 garren Exp $
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/defs.h
"
18
#include "
CLHEP/Geometry/Plane3D.h
"
19
20
namespace
HepGeom {
21
//--------------------------------------------------------------------------
22
std::ostream &
23
operator<<(std::ostream & os, const Plane3D<float> & p) {
24
return
os
25
<<
'('
<< p.a() <<
','
<< p.b() <<
','
<< p.c() <<
','
<< p.d() <<
')'
;
26
}
27
28
//--------------------------------------------------------------------------
29
std::ostream &
30
operator<<(std::ostream & os, const Plane3D<double> & p) {
31
return
os
32
<<
'('
<< p.a() <<
','
<< p.b() <<
','
<< p.c() <<
','
<< p.d() <<
')'
;
33
}
34
}
/* namespace HepGeom */
defs.h
Plane3D.h
Generated on Sat Apr 26 2014 20:36:37 for CLHEP by
1.8.6