GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SBCYLINDER (3)

NAME

SbCylinder — class for representing a cylinder

CONTENTS

Inherits From
Synopsis
Description
Methods
File Format/defaults
See Also

INHERITS FROM

SbCylinder

SYNOPSIS

#include <Inventor/SbLinear.h>

Methods from class SbCylinder:

       
                    
                     SbCylinder()    
   
                    
                     SbCylinder(const SbLine &a, float r)    
void    
                    
void                 setValue(const SbLine &a, float r)    
void    
                    
void                 setAxis(const SbLine &a)    
void    
                    
void                 setRadius(float r)    
const SbLine &    
                    
const SbLine &       getAxis() const    
float    
                    
float                getRadius() const    
SbBool    
                    
SbBool               intersect(const SbLine &l, SbVec3f &intersection) const    
SbBool    
                    
SbBool               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

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

    void    
                    
void                 setValue(const SbLine &a, float r)
Change the axis and radius.

    void    
                    
void                 setAxis(const SbLine &a)    
void    
                    
void                 setRadius(float r)
Set just the axis or radius.

    const SbLine &    
                    
const SbLine &       getAxis() const    
float    
                    
float                getRadius() const
Return the axis and radius.

    SbBool    
                    
SbBool               intersect(const SbLine &l, SbVec3f &intersection) const    
SbBool    
                    
SbBool               intersect(const SbLine &l, SbVec3f &enter, SbVec3f &exit) const
Intersect line and cylinder, returning TRUE if there is an intersection.

FILE FORMAT/DEFAULTS

SEE ALSO

SbVec3f, SbLine, SbPlane, SbSphere, SoCylinder

Search for    or go to Top of page |  Section 3 |  Main Index


SBCYLINDER(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.