Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
Plane3D.cc
Go to the documentation of this file.
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 <[email protected]>
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>
17
18namespace 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 */
T d() const
Definition: Plane3D.h:93
T b() const
Definition: Plane3D.h:87
T c() const
Definition: Plane3D.h:90
T a() const
Definition: Plane3D.h:84
std::ostream & operator<<(std::ostream &os, const BasicVector3D< float > &a)