SbCylinder(3iv)

SbCylinder3iv

Class for representing a cylinder

Usage

#include <Inventor/SbLinear.h>

Methods from class SbCylinder:

SbCylinder()
SbCylinder(const SbLine &a, float r)
void setValue(const SbLine &a, float r)
void setAxis(const SbLine &a)
void setRadius(float r)
const SbLine & getAxis() const
float getRadius() const
SbBool intersect(const SbLine &l, SbVec3f &intersection) const
SbBool intersect(const SbLine &l, SbVec3f &enter, SbVec3f &exit) const

Inherits from

SbCylinder

Overview

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 setValue(const SbLine &a, float r)
Change the axis and radius.

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

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

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

Releases

Unchanged in 9 releases since Debian 3.0 (Woody).

  1. 3.0–13

From inventor-doc 2.1.6+ds-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.