ATLAS Offline Software
NoBounds.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 namespace Trk {
6 
7 inline bool
8 NoBounds::operator==(const SurfaceBounds&) const
9 {
10  return true;
11 }
12 
13 inline bool
14 NoBounds::inside(const Amg::Vector2D&, double, double) const
15 {
16  return true;
17 }
18 
19 inline bool
20 NoBounds::inside(const Amg::Vector2D&, const BoundaryCheck&) const
21 {
22  return true;
23 }
24 
25 inline bool
26 NoBounds::insideLoc1(const Amg::Vector2D&, double) const
27 {
28  return true;
29 }
30 
31 inline bool
32 NoBounds::insideLoc2(const Amg::Vector2D&, double) const
33 {
34  return true;
35 }
36 
37 inline double
38 NoBounds::minDistance(const Amg::Vector2D&) const
39 {
40  return 0.;
41 }
42 
43 inline NoBounds*
44 NoBounds::clone() const
45 {
46  return new NoBounds();
47 }
48 
49 inline double
50 NoBounds::r() const
51 {
52  return 0.;
53 }
54 
55 inline MsgStream&
56 NoBounds::dump(MsgStream& sl) const
57 {
58  sl << "Trk::NoBounds ... boundless surface" << endmsg;
59  return sl;
60 }
61 
62 inline std::ostream&
63 NoBounds::dump(std::ostream& sl) const
64 {
65  sl << "Trk::NoBounds ... boundless surface" << std::endl;
66  return sl;
67 }
68 
69 } // end of namespace