logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SbCylinder — class for representing a cylinder

Description

       This class defines a simple cylinder datatype. It is used by the Inventor toolkit for arguments or return
       values.

Inherits From

       SbCylinder

Methods

SbCylinder()SbCylinder(constSbLine&a,floatr)
          Constructors. One takes an axis and radius.

     voidsetValue(constSbLine&a,floatr)
          Change the axis and radius.

     voidsetAxis(constSbLine&a)voidsetRadius(floatr)
          Set just the axis or radius.

     constSbLine&getAxis()constfloatgetRadius()const
          Return the axis and radius.

     SbBoolintersect(constSbLine&l,SbVec3f&intersection)constSbBoolintersect(constSbLine&l,SbVec3f&enter,SbVec3f&exit)const
          Intersect line and cylinder, returning TRUE if there is an intersection.

Name

       SbCylinder — class for representing a cylinder

See Also

SbVec3f,SbLine,SbPlane,SbSphere,SoCylinderSbCylinder(3IV)()

Synopsis

#include<Inventor/SbLinear.h>

          Methods from class SbCylinder:

                         SbCylinder()SbCylinder(constSbLine&a,floatr)voidsetValue(constSbLine&a,floatr)voidsetAxis(constSbLine&a)voidsetRadius(floatr)constSbLine&getAxis()constfloatgetRadius()constSbBoolintersect(constSbLine&l,SbVec3f&intersection)constSbBoolintersect(constSbLine&l,SbVec3f&enter,SbVec3f&exit)const

See Also