1 #ifndef COIN_SBSPHERE_H
2 #define COIN_SBSPHERE_H
28 #include <Inventor/SbVec3f.h>
37 void setValue(
const SbVec3f & center,
const float radius);
38 void setCenter(
const SbVec3f & center);
39 void setRadius(
const float radius);
40 const SbVec3f & getCenter(
void)
const;
41 float getRadius(
void)
const;
42 void circumscribe(
const SbBox3f & box);
43 SbBool intersect(
const SbLine & l,
SbVec3f & intersection)
const;
45 SbBool pointInside(
const SbVec3f & p)
const;
47 void print(FILE * file)
const;
54 #endif // !COIN_SBSPHERE_H
The SbSphere class is a representation of a sphere.This class is used within many other classes in Co...
Definition: SbSphere.h:33
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.This box abstraction class ...
Definition: SbBox3f.h:37
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
The SbLine class represents a line in 3D space.SbLine provides a way of specifying a directed line...
Definition: SbLine.h:32