Open Inventor Reference
SbCylinderd Class Reference

Class for representing a cylinder with double values. More...

#include <Inventor/SbLineard.h>

Public Member Functions

 SbCylinderd ()
 Constructors. One takes an axis and radius.
 
 SbCylinderd (const SbLined &a, double r)
 Constructors. One takes an axis and radius.
 
void setValue (const SbLined &a, double r)
 Change the axis and radius.
 
void setAxis (const SbLined &a)
 Set just the axis or radius.
 
void setRadius (double r)
 Set just the axis or radius.
 
const SbLinedgetAxis () const
 Return the axis and radius.
 
double getRadius () const
 Return the axis and radius.
 
bool intersect (const SbLined &l, SbVec3d &intersection) const
 Intersect line and cylinder, returning TRUE if there is an intersection.
 
bool intersect (const SbLined &l, SbVec3d &enter, SbVec3d &exit) const
 

Detailed Description

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

See Also
SbVec3f, SbLine, SbPlane, SbSphere, SoCylinder, SbCylinder, SbVec3d, SbLined, SbPlaned, SbSphered

Definition at line 993 of file SbLineard.h.

Constructor & Destructor Documentation

◆ SbCylinderd() [1/2]

SbCylinderd::SbCylinderd ( )

◆ SbCylinderd() [2/2]

SbCylinderd::SbCylinderd ( const SbLined a,
double  r 
)

Member Function Documentation

◆ getAxis()

const SbLined & SbCylinderd::getAxis ( ) const
inline

Definition at line 1011 of file SbLineard.h.

◆ getRadius()

double SbCylinderd::getRadius ( ) const
inline

Definition at line 1013 of file SbLineard.h.

◆ intersect() [1/2]

bool SbCylinderd::intersect ( const SbLined l,
SbVec3d enter,
SbVec3d exit 
) const

◆ intersect() [2/2]

bool SbCylinderd::intersect ( const SbLined l,
SbVec3d intersection 
) const

◆ setAxis()

void SbCylinderd::setAxis ( const SbLined a)

◆ setRadius()

void SbCylinderd::setRadius ( double  r)

◆ setValue()

void SbCylinderd::setValue ( const SbLined a,
double  r 
)

The documentation for this class was generated from the following file: