CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OpenBounds.h
Go to the documentation of this file.
1 #ifndef Geom_OpenBounds_H
2 #define Geom_OpenBounds_H
3 
4 
7 
9 
10 class OpenBounds GCC11_FINAL : public Bounds {
11 public:
12 
13  virtual float length() const { return 1000000.; }
14  virtual float width() const { return 1000000.; }
15  virtual float thickness() const { return 1000000.; }
16 
17  // basic bounds function
18 
19  virtual bool inside( const Local3DPoint& p ) const { return true;}
20 
21  virtual bool inside( const Local3DPoint& p,
22  const LocalError& err, float scale) const { return true;}
23 
24  virtual bool inside( const Local2DPoint& p,
25  const LocalError& err, float scale) const { return true;}
26 
27  virtual Bounds* clone() const { return new OpenBounds();}
28 
29 };
30 
31 
32 #endif // Geom_OpenBounds_H
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
64 
virtual float thickness() const
Definition: OpenBounds.h:15
virtual float length() const
Definition: OpenBounds.h:13
virtual bool inside(const Local2DPoint &p, const LocalError &err, float scale) const
Definition: OpenBounds.h:24
Definition: Bounds.h:22
virtual bool inside(const Local3DPoint &p, const LocalError &err, float scale) const
Determine if a point is inside the bounds, taking error into account.
Definition: OpenBounds.h:21
virtual float width() const
Definition: OpenBounds.h:14
virtual bool inside(const Local3DPoint &p) const
Determine if the point is inside the bounds.
Definition: OpenBounds.h:19
virtual Bounds * clone() const
Definition: OpenBounds.h:27
Unlimited (trivial) bounds.