CMS 3D CMS Logo

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

virtual Boundsclone () const
 
virtual bool inside (const Local3DPoint &p) const
 Determine if the point is inside the bounds. More...
 
virtual bool inside (const Local3DPoint &p, const LocalError &err, float scale) const
 Determine if a point is inside the bounds, taking error into account. More...
 
virtual bool inside (const Local2DPoint &p, const LocalError &err, float scale) const
 Determine if a 2D point is inside the bounds, taking error into account. More...
 
virtual float length () const
 
virtual float thickness () const
 
virtual float width () const
 
- 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 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 10 of file OpenBounds.h.

Member Function Documentation

virtual Bounds* OpenBounds::clone ( void  ) const
inlinevirtual

Implements Bounds.

Definition at line 29 of file OpenBounds.h.

29 { return new OpenBounds();}
Unlimited (trivial) bounds.
Definition: OpenBounds.h:10
virtual bool OpenBounds::inside ( const Local3DPoint ) const
inlinevirtual

Determine if the point is inside the bounds.

Implements Bounds.

Definition at line 21 of file OpenBounds.h.

21 { return true;}
virtual bool OpenBounds::inside ( const Local3DPoint ,
const LocalError ,
float  scale 
) const
inlinevirtual

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

Implements Bounds.

Definition at line 23 of file OpenBounds.h.

24  { return true;}
virtual bool OpenBounds::inside ( const Local2DPoint p,
const LocalError err,
float  scale 
) const
inlinevirtual

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

Reimplemented from Bounds.

Definition at line 26 of file OpenBounds.h.

27  { return true;}
virtual float OpenBounds::length ( ) const
inlinevirtual

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

Implements Bounds.

Definition at line 13 of file OpenBounds.h.

Referenced by Vispa.Views.LineDecayView.DecayLine::arrowBoundingRect(), Vispa.Views.LineDecayView.DecayLine::labelBoundingRect(), and Vispa.Views.LineDecayView.DecayLine::paint().

13 { return 1000000.; }
virtual float OpenBounds::thickness ( ) const
inlinevirtual

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

Implements Bounds.

Definition at line 15 of file OpenBounds.h.

References Bounds::inside().

15 { return 1000000.; }
virtual float OpenBounds::width ( ) const
inlinevirtual