- NAME
SbCylinder -- class for representing a cylinder
- INHERITS FROM
- SYNOPSIS
(Cr#include <Inventor/SbLinear.h>
<1>Methods from class SbCylinder:
1>(Pt
c}
(Pt c}
(CbSbCylinder(Cr()
(Pt
c}
(Pt c}
(CbSbCylinder(Cr(const SbLine &a, float r)
(Pt
c}
(Pt c}
(CbsetValue(Cr(const SbLine &a, float r)
(Pt
c}
(Pt c}
(CbsetAxis(Cr(const SbLine &a)
(Pt
c}
(Pt c}
(CbsetRadius(Cr(float r)
(Pt
c}
(Pt c}
(CbgetAxis(Cr() const
(Pt
c}
(Pt c}
(CbgetRadius(Cr() const
(Pt
c}
(Pt c}
(Cbintersect(Cr(const SbLine &l, SbVec3f &intersection) const
(Pt
c}
(Pt c}
(Cbintersect(Cr(const SbLine &l, SbVec3f &enter, SbVec3f &exit) const
- DESCRIPTION
This class defines a simple cylinder datatype. It is used by the Inventor toolkit for arguments or return values.
- METHODS
(Pt
c}
(Pt c}
(CbSbCylinder(Cr()
(Pt
c}
(Pt c}
(CbSbCylinder(Cr(const SbLine &a, float r)
<1>Constructors. One takes an axis and radius.
1>(Pt
c}
(Pt c}
(CbsetValue(Cr(const SbLine &a, float r)
<1>Change the axis and radius.
1>(Pt
c}
(Pt c}
(CbsetAxis(Cr(const SbLine &a)
(Pt
c}
(Pt c}
(CbsetRadius(Cr(float r)
<1>Set just the axis or radius.
1>(Pt
c}
(Pt c}
(CbgetAxis(Cr() const
(Pt
c}
(Pt c}
(CbgetRadius(Cr() const
<1>Return the axis and radius.
1>(Pt
c}
(Pt c}
(Cbintersect(Cr(const SbLine &l, SbVec3f &intersection) const
(Pt
c}
(Pt c}
(Cbintersect(Cr(const SbLine &l, SbVec3f &enter, SbVec3f &exit) const
<1>Intersect line and cylinder, returning (CrTRUE1><1> if there is an intersection.
1>
- SEE ALSO
(CbSbVec3f, SbLine, SbPlane, SbSphere, SoCylinder