Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/Geant4/tools/zb/point is written in an unsupported language. File is not indexed.

0001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
0002 // See the file tools.license for terms.
0003 
0004 #ifndef tools_zb_point
0005 #define tools_zb_point
0006 
0007 namespace tools {
0008 namespace zb {
0009 
0010 typedef int    ZPos;
0011 typedef double ZZ;
0012 
0013 class point {
0014 public:
0015   point():x(0),y(0),z(0){}
0016   point(const ZPos& a_x,const ZPos& a_y,const ZZ& a_z):x(a_x),y(a_y),z(a_z){}
0017 public:
0018   point(const point& a_from):x(a_from.x),y(a_from.y),z(a_from.z){}
0019   point& operator=(const point& a_from){
0020     x = a_from.x;
0021     y = a_from.y;
0022     z = a_from.z;
0023     return *this;
0024   }
0025 public:
0026   ZPos x;
0027   ZPos y;
0028   ZZ z; //not used in line,edge_table,polygon
0029 };
0030 
0031 }}
0032 
0033 #endif