H3D API  2.4.1
Public Member Functions | List of all members
H3D::InfiniteBound Class Reference

An InfiniteBound is a Bound that encompasses everything. More...

#include <H3D/Bound.h>

Inheritance diagram for H3D::InfiniteBound:
Inheritance graph

Public Member Functions

virtual bool isInside (const Vec3f &)
 Determines if a given point is inside the bound or not.
 
virtual bool lineSegmentIntersect (const Vec3f &, const Vec3f &)
 Returns true always.
 
virtual bool movingSphereIntersect (const Vec3f &, const Vec3f &, H3DFloat)
 Checks a moving sphere for intersection with the bound. More...
 
virtual Vec3f closestPoint (const Vec3f &p)
 Returns the closest point on the bound to the given point.
 
- Public Member Functions inherited from H3D::Bound
virtual void render ()
 Render the outline of the bound with OpenGL.
 

Additional Inherited Members

- Static Public Member Functions inherited from H3D::Bound
template<class Iterator >
static BoundboundUnion (Iterator begin, Iterator end)
 Returns a Bound that is the union between all the bounds specified by the iterators. More...
 
template<class Iterator >
static BoundSFBoundUnion (Iterator begin, Iterator end)
 Returns a Bound that is the union between the Bound objects in the SFBound fields specified by the iterators.
 

Detailed Description

An InfiniteBound is a Bound that encompasses everything.

So every point is inside the bound.

Member Function Documentation

◆ movingSphereIntersect()

virtual bool H3D::InfiniteBound::movingSphereIntersect ( const Vec3f &  ,
const Vec3f &  ,
H3DFloat   
)
inlinevirtual

Checks a moving sphere for intersection with the bound.

return true always.

Implements H3D::Bound.


The documentation for this class was generated from the following file: