Class for representing a sphere.
More...
#include <Inventor/SbLinear.h>
Represents a sphere in 3D. This is a lightweight datatype that is used for arguments or return values in the Inventor toolkit. See SoSphere for a database sphere (used for rendering, picking, etc.). {}
- See Also
- SbVec3f, SbLine, SoSphere
Definition at line 1489 of file SbLinear.h.
◆ SbSphere() [1/2]
◆ SbSphere() [2/2]
SbSphere::SbSphere |
( |
const SbVec3f & |
c, |
|
|
float |
r |
|
) |
| |
◆ circumscribe()
void SbSphere::circumscribe |
( |
const SbBox3f & |
box | ) |
|
◆ getCenter()
const SbVec3f & SbSphere::getCenter |
( |
| ) |
const |
|
inline |
◆ getRadius()
float SbSphere::getRadius |
( |
| ) |
const |
|
inline |
◆ intersect() [1/2]
◆ intersect() [2/2]
bool SbSphere::intersect |
( |
const SbLine & |
l, |
|
|
SbVec3f & |
intersection |
|
) |
| const |
◆ setCenter()
void SbSphere::setCenter |
( |
const SbVec3f & |
c | ) |
|
◆ setRadius()
void SbSphere::setRadius |
( |
float |
r | ) |
|
◆ setValue()
void SbSphere::setValue |
( |
const SbVec3f & |
c, |
|
|
float |
r |
|
) |
| |
The documentation for this class was generated from the following file:
- C:/jh/mevislab/4.0.2_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/SbLinear.h