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
20namespace 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 */
T d() const
Definition: Plane3D.h:95
T b() const
Definition: Plane3D.h:89
T c() const
Definition: Plane3D.h:92
T a() const
Definition: Plane3D.h:86
std::ostream & operator<<(std::ostream &os, const BasicVector3D< float > &a)