• NAME
      SbCylinder -- class for representing a cylinder
  • INHERITS FROM
      SbCylinder
  • SYNOPSIS
      (Cr#include <Inventor/SbLinear.h>

      <1>Methods from class SbCylinder:

      (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.

      (Pt c} (Pt c} (CbsetValue(Cr(const SbLine &a, float r)
      <1>Change the axis and radius.

      (Pt c} (Pt c} (CbsetAxis(Cr(const SbLine &a)
      (Pt c} (Pt c} (CbsetRadius(Cr(float r)
      <1>Set just the axis or radius.

      (Pt c} (Pt c} (CbgetAxis(Cr() const
      (Pt c} (Pt c} (CbgetRadius(Cr() const
      <1>Return the axis and radius.

      (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 (CrTRUE<1> if there is an intersection.

  • SEE ALSO
      (CbSbVec3f, SbLine, SbPlane, SbSphere, SoCylinder
Current Users: 33 © 1999-2006 Linux.com.hk PenguinSoft
All trademarks and copyrights on this page are owned by their respective companies. Linux is a trademark of Linus Torvalds.