Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
Plane3D.cc
이 파일의 문서화 페이지로 가기
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 <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/Plane3D.h"
18 
19 namespace 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 */
const char * p
Definition: xmltok.h:285