Class Sphere

Inheritance Relationships

Base Type

Class Documentation

class Sphere : public hpp::fcl::ShapeBase

Center at zero point sphere.

Public Functions

inline Sphere()

Default constructor.

inline explicit Sphere(FCL_REAL radius_)
inline Sphere(const Sphere &other)
inline virtual Sphere *clone() const

Clone *this into a new Sphere.

virtual void computeLocalAABB()

Compute AABB.

inline virtual NODE_TYPE getNodeType() const

Get node type: a sphere.

inline virtual Matrix3f computeMomentofInertia() const

compute the inertia matrix, related to the origin

inline virtual FCL_REAL computeVolume() const

compute the volume

inline FCL_REAL minInflationValue() const
inline std::pair<Sphere, Transform3f> inflated(const FCL_REAL value) const

Inflate the sphere by an amount given by value.

Parameters:

value[in] of the shape inflation.

Returns:

a new inflated sphere and the related transform to account for the change of shape frame

Public Members

FCL_REAL radius

Radius of the sphere.