CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
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 */
Plane3D.h
defs.h
HepGeom::Plane3D
Definition:
CLHEP/Geometry/Plane3D.h:30
HepGeom::Plane3D::d
T d() const
Definition:
CLHEP/Geometry/Plane3D.h:87
HepGeom::Plane3D::b
T b() const
Definition:
CLHEP/Geometry/Plane3D.h:81
HepGeom::Plane3D::c
T c() const
Definition:
CLHEP/Geometry/Plane3D.h:84
HepGeom::Plane3D::a
T a() const
Definition:
CLHEP/Geometry/Plane3D.h:78
HepGeom
Definition:
CLHEP/Geometry/BasicVector3D.h:19
HepGeom::operator<<
std::ostream & operator<<(std::ostream &os, const BasicVector3D< float > &a)
Definition:
BasicVector3D.cc:108
Generated by
1.9.1