1SbCylinder(3IV)()                                            SbCylinder(3IV)()
2
3
4

NAME

6       SbCylinder — class for representing a cylinder
7

INHERITS FROM

9       SbCylinder
10

SYNOPSIS

12       #include <Inventor/SbLinear.h>
13
14          Methods from class SbCylinder:
15
16                         SbCylinder()
17                         SbCylinder(const SbLine &a, float r)
18     void                setValue(const SbLine &a, float r)
19     void                setAxis(const SbLine &a)
20     void                setRadius(float r)
21     const SbLine &      getAxis() const
22     float               getRadius() const
23     SbBool              intersect(const  SbLine  &l,  SbVec3f  &intersection)
24                              const
25     SbBool              intersect(const SbLine &l,  SbVec3f  &enter,  SbVec3f
26                              &exit) const
27
28

DESCRIPTION

30       This class defines a simple cylinder datatype. It is used by the Inven‐
31       tor toolkit for arguments or return values.
32

METHODS

34                         SbCylinder()
35                         SbCylinder(const SbLine &a, float r)
36          Constructors. One takes an axis and radius.
37
38     void                setValue(const SbLine &a, float r)
39          Change the axis and radius.
40
41     void                setAxis(const SbLine &a)
42     void                setRadius(float r)
43          Set just the axis or radius.
44
45     const SbLine &      getAxis() const
46     float               getRadius() const
47          Return the axis and radius.
48
49     SbBool              intersect(const  SbLine  &l,  SbVec3f  &intersection)
50                              const
51     SbBool              intersect(const  SbLine  &l,  SbVec3f &enter, SbVec3f
52                              &exit) const
53          Intersect line and cylinder, returning TRUE if there is an intersec‐
54          tion.
55
56

SEE ALSO

58       SbVec3f, SbLine, SbPlane, SbSphere, SoCylinder
59
60
61
62
63                                                             SbCylinder(3IV)()
Impressum