CMS 3D CMS Logo

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

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
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...
 
virtual float widthAtHalfLength () const
 Width at half length. Useful for e.g. pitch definition. More...
 
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 27 of file OpenBounds.h.

27 { 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 19 of file OpenBounds.h.

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

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

25  { 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.

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