CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
OpenBounds Class Referencefinal

Unlimited (trivial) bounds. More...

#include <OpenBounds.h>

Inheritance diagram for OpenBounds:
Bounds

Public Member Functions

Boundsclone () const override
 
bool inside (const Local3DPoint &p) const override
 Determine if the point is inside the bounds. More...
 
bool inside (const Local3DPoint &p, const LocalError &err, float scale) const override
 Determine if a point is inside the bounds, taking error into account. More...
 
bool inside (const Local2DPoint &p, const LocalError &err, float scale) const override
 Determine if a 2D point is inside the bounds, taking error into account. More...
 
float length () const override
 
float thickness () const override
 
float width () const override
 
- Public Member Functions inherited from Bounds
void computeSpan (Surface const &plane)
 
virtual bool inside (const Local2DPoint &p) const
 
virtual bool inside (const Local2DPoint &p, float tollerance) const
 Determine if a point is inside the bounds, taking a tollerance into account. More...
 
std::pair< float, float > const & phiSpan () const
 
std::pair< float, float > const & rSpan () const
 
virtual float significanceInside (const Local3DPoint &, const LocalError &) const
 
virtual float widthAtHalfLength () const
 Width at half length. Useful for e.g. pitch definition. More...
 
std::pair< float, float > const & zSpan () const
 
virtual ~Bounds ()
 

Detailed Description

Unlimited (trivial) bounds.

Definition at line 9 of file OpenBounds.h.

Member Function Documentation

Bounds* OpenBounds::clone ( void  ) const
inlineoverridevirtual

Implements Bounds.

Definition at line 25 of file OpenBounds.h.

25 { return new OpenBounds(); }
Unlimited (trivial) bounds.
Definition: OpenBounds.h:9
bool OpenBounds::inside ( const Local3DPoint ) const
inlineoverridevirtual

Determine if the point is inside the bounds.

Implements Bounds.

Definition at line 19 of file OpenBounds.h.

19 { return true; }
bool OpenBounds::inside ( const Local3DPoint ,
const LocalError ,
float  scale 
) const
inlineoverridevirtual

Determine if a point is inside the bounds, taking error into account.

Implements Bounds.

Definition at line 21 of file OpenBounds.h.

21 { return true; }
bool OpenBounds::inside ( const Local2DPoint p,
const LocalError err,
float  scale 
) const
inlineoverridevirtual

Determine if a 2D point is inside the bounds, taking error into account.

Reimplemented from Bounds.

Definition at line 23 of file OpenBounds.h.

23 { return true; }
float OpenBounds::length ( ) const
inlineoverridevirtual

"Lenght" of the bounded volume; refer to the concrete class documentation for the specific definition.

Implements Bounds.

Definition at line 11 of file OpenBounds.h.

11 { return 1000000.; }
float OpenBounds::thickness ( ) const
inlineoverridevirtual

"Thickness" of the bound around the surface; refer to the concrete class documentation for the specific definition.

Implements Bounds.

Definition at line 13 of file OpenBounds.h.

13 { return 1000000.; }
float OpenBounds::width ( ) const
inlineoverridevirtual

"width" of the bounds; refer to the concrete class documentation for the specific definition.

Implements Bounds.

Definition at line 12 of file OpenBounds.h.

12 { return 1000000.; }