CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
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 <
[email protected]
>
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 */
HepGeom::Plane3D
Definition:
Plane3D.h:30
HepGeom::Plane3D::d
T d() const
Definition:
Plane3D.h:95
HepGeom::Plane3D::b
T b() const
Definition:
Plane3D.h:89
HepGeom::Plane3D::c
T c() const
Definition:
Plane3D.h:92
HepGeom::Plane3D::a
T a() const
Definition:
Plane3D.h:86
HepGeom
Definition:
BasicVector3D.h:20
HepGeom::operator<<
std::ostream & operator<<(std::ostream &os, const BasicVector3D< float > &a)
Definition:
BasicVector3D.cc:108
CLHEP-CLHEP_2_4_6_4
Geometry
src
Plane3D.cc
Generated by
1.9.6