man SbCylinder () - class for representing a cylinder

NAME

SbCylinder - class for representing a cylinder

INHERITS FROM

SbCylinder

SYNOPSIS

#include <Inventor/SbLinear.h> Methods from class SbCylinder: c } c } SbCylinder()

c } c } SbCylinder(const SbLine &a, float r)

c } c } setValue(const SbLine &a, float r)

c } c } setAxis(const SbLine &a)

c } c } setRadius(float r)

c } c } getAxis() const

c } c } getRadius() const

c } c } intersect(const SbLine &l, SbVec3f &intersection) const

c } c } intersect(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

c } c } SbCylinder()

c } c } SbCylinder(const SbLine &a, float r)

Constructors. One takes an axis and radius. c } c } setValue(const SbLine &a, float r)

Change the axis and radius. c } c } setAxis(const SbLine &a)

c } c } setRadius(float r)

Set just the axis or radius. c } c } getAxis() const

c } c } getRadius() const

Return the axis and radius. c } c } intersect(const SbLine &l, SbVec3f &intersection) const

c } c } intersect(const SbLine &l, SbVec3f &enter, SbVec3f &exit) const

Intersect line and cylinder, returning TRUE if there is an intersection.

SEE ALSO

SbVec3f, SbLine, SbPlane, SbSphere, SoCylinder