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

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 10 of file OpenBounds.h.

Member Function Documentation

Bounds* OpenBounds::clone ( void  ) const
inlineoverridevirtual

Implements Bounds.

Definition at line 29 of file OpenBounds.h.

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

Determine if the point is inside the bounds.

Implements Bounds.

Definition at line 21 of file OpenBounds.h.

21 { 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 23 of file OpenBounds.h.

24  { 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 26 of file OpenBounds.h.

27  { 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 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.; }
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 15 of file OpenBounds.h.

References Bounds::inside().

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