CMS 3D CMS Logo

Public Member Functions

OpenBounds Class Reference

Unlimited (trivial) bounds. More...

#include <OpenBounds.h>

Inheritance diagram for OpenBounds:
Bounds

List of all members.

Public Member Functions

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

Detailed Description

Unlimited (trivial) bounds.

Definition at line 10 of file OpenBounds.h.


Member Function Documentation

virtual Bounds* OpenBounds::clone ( void  ) const [inline, virtual]

Implements Bounds.

Definition at line 27 of file OpenBounds.h.

{ return new OpenBounds();}
virtual bool OpenBounds::inside ( const Local2DPoint p,
const LocalError err,
float  scale 
) const [inline, virtual]

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

Reimplemented from Bounds.

Definition at line 24 of file OpenBounds.h.

                                                                 { return true;}
virtual bool OpenBounds::inside ( const Local3DPoint ,
const LocalError ,
float  scale 
) const [inline, virtual]

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

Implements Bounds.

Definition at line 21 of file OpenBounds.h.

                                                                 { return true;}
virtual bool OpenBounds::inside ( const Local3DPoint ) const [inline, virtual]

Determine if the point is inside the bounds.

Implements Bounds.

Definition at line 19 of file OpenBounds.h.

{ return true;}
virtual float OpenBounds::length ( ) const [inline, virtual]

"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.

{ return 1000000.; } 
virtual float OpenBounds::thickness ( ) const [inline, virtual]

"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.

{ return 1000000.; }
virtual float OpenBounds::width ( ) const [inline, virtual]

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

Implements Bounds.

Definition at line 14 of file OpenBounds.h.

{ return 1000000.; }