g4tools  5.4.0
point
Go to the documentation of this file.
1 // Copyright (C) 2010, Guy Barrand. All rights reserved.
2 // See the file tools.license for terms.
3 
4 #ifndef tools_zb_point
5 #define tools_zb_point
6 
7 namespace tools {
8 namespace zb {
9 
10 typedef int ZPos;
11 typedef double ZZ;
12 
13 class point {
14 public:
15  point():x(0),y(0),z(0){}
16 public:
17  point(const point& a_from):x(a_from.x),y(a_from.y),z(a_from.z){}
18  point& operator=(const point& a_from){
19  x = a_from.x;
20  y = a_from.y;
21  z = a_from.z;
22  return *this;
23  }
24 public:
27  ZZ z; //not used in line,edge_table,polygon
28 };
29 
30 }}
31 
32 #endif
tools::zb::point::point
point()
Definition: point:15
tools::zb::point::y
ZPos y
Definition: point:26
tools::zb::ZZ
double ZZ
Definition: point:11
tools::zb::point::z
ZZ z
Definition: point:27
tools::zb::point::x
ZPos x
Definition: point:25
tools::zb::point
Definition: point:13
tools
inlined C code : ///////////////////////////////////
Definition: aida_ntuple:26
tools::zb::ZPos
int ZPos
Definition: point:10
tools::zb::point::point
point(const point &a_from)
Definition: point:17
tools::zb::point::operator=
point & operator=(const point &a_from)
Definition: point:18