SbCylinder man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



							       SbCylinder(3IV)

NAME
     SbCylinder (SbCyl) - class for representing a cylinder

INHERITS FROM
     SbCylinder

SYNOPSIS
     #include <Inventor_c/SbLinear.h>

     typedef SbCylinder	 SbCyl

	  Functions from class SbCylinder:

     SbBool		 SbCylIntersect(const SbCyl *this, const SbLine *l,
			      SbVec3f *intersection)
     SbBool		 SbCylIntersect2(const SbCyl *this, const SbLine *l,
			      SbVec3f *enter, SbVec3f *exit)

DESCRIPTION
     This class defines a simple cylinder datatype. It is used by the Inventor
     toolkit for arguments or return values.  Note that there are no Create
     and Delete functions for SbCylinder. C programmers should treat cylinders
     as standard C structs (declare them locally or use malloc):

	       /* This is defined in Inventor_c/SbLinear.h: */
	       struct {
		   struct SbLine  axis;
		   float	  radius;
	       }
	       typedef SbCylinder      SbCyl;

	       /* Your code should look something like this: */
	       #include <Inventor_c/SbLinear.h>

	       SbCylinder   c;

	       c.radius = 2.0;
	       SbV3fSetX_Y_Z( c.axis.pos, 0.0, 0.0, 0.0 );
	       SbV3fSetX_Y_Z( c.axis.dir, 0.0, 1.0, 0.0 );

FUNCTIONS
     SbBool		 SbCylIntersect(const SbCyl *this, const SbLine *l,
			      SbVec3f *intersection)
     SbBool		 SbCylIntersect2(const SbCyl *this, const SbLine *l,
			      SbVec3f *enter, SbVec3f *exit)
	  Intersect line and cylinder, returning TRUE if there is an
	  intersection.

Page 1

SbCylinder(3IV)

FILE FORMAT/DEFAULTS
     Cylinder {
     }

SEE ALSO
     SbVec3f, SbLine, SbPlane, SbSphere, SoCylinder

Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net