1 #ifndef COIN_SBSPHERE_H 2 #define COIN_SBSPHERE_H 37 #include <Inventor/SbVec3f.h> 46 void setValue(
const SbVec3f & center,
const float radius);
47 void setCenter(
const SbVec3f & center);
48 void setRadius(
const float radius);
49 const SbVec3f & getCenter(
void)
const;
50 float getRadius(
void)
const;
51 void circumscribe(
const SbBox3f & box);
52 SbBool intersect(
const SbLine & l,
SbVec3f & intersection)
const;
54 SbBool pointInside(
const SbVec3f & p)
const;
56 void print(FILE * file)
const;
63 #endif // !COIN_SBSPHERE_H The SbSphere class is a representation of a sphere.
Definition: SbSphere.h:42
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition: SbBox3f.h:46
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
The SbLine class represents a line in 3D space.
Definition: SbLine.h:41