Geant4 9.6.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// $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 <[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>
18
19namespace 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 */
T d() const
Definition: Plane3D.h:86
T b() const
Definition: Plane3D.h:80
T c() const
Definition: Plane3D.h:83
T a() const
Definition: Plane3D.h:77
std::ostream & operator<<(std::ostream &os, const BasicVector3D< float > &a)