SbBool enter(uintptr_t key, void *value)
Class for representing a cylinder.
SbBool intersect(const SbLine &l, SbVec3f &intersection) const
Intersect line and cylinder, returning TRUE if there is an intersection.
SbCylinder(const SbLine &a, float r)
Constructor that takes an axis and radius.
SbBool intersect(const SbLine &l, SbVec3f &enter, SbVec3f &exit) const
Intersect line and cylinder, returning TRUE if there is an intersection.
void setAxis(const SbLine &a)
Set the axis.
void setRadius(float r)
Set the radius.
void setValue(const SbLine &a, float r)
Change the axis and radius.
SbCylinder()
Default constructor.
const SbLine & getAxis() const
Return the axis.
float getRadius() const
Return the radius.