Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Vrml_Cylinder Class Reference

defines a Cylinder node of VRML specifying geometry shapes. This node represents a simple capped cylinder centred around the y-axis. By default, the cylinder is centred at (0,0,0) and has size of -1 to +1 in the all three dimensions. The cylinder has three parts: the sides, the top (y=+1) and the bottom (y=-1) More...

#include <Vrml_Cylinder.hxx>

Public Member Functions

 Vrml_Cylinder (const Vrml_CylinderParts aParts=Vrml_CylinderALL, const double aRadius=1, const double aHeight=2)
 
void SetParts (const Vrml_CylinderParts aParts)
 
Vrml_CylinderParts Parts () const
 
void SetRadius (const double aRadius)
 
double Radius () const
 
void SetHeight (const double aHeight)
 
double Height () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

defines a Cylinder node of VRML specifying geometry shapes. This node represents a simple capped cylinder centred around the y-axis. By default, the cylinder is centred at (0,0,0) and has size of -1 to +1 in the all three dimensions. The cylinder has three parts: the sides, the top (y=+1) and the bottom (y=-1)

Constructor & Destructor Documentation

◆ Vrml_Cylinder()

Vrml_Cylinder::Vrml_Cylinder ( const Vrml_CylinderParts aParts = Vrml_CylinderALL,
const double aRadius = 1,
const double aHeight = 2 )

Member Function Documentation

◆ Height()

double Vrml_Cylinder::Height ( ) const

◆ Parts()

Vrml_CylinderParts Vrml_Cylinder::Parts ( ) const

◆ Print()

Standard_OStream & Vrml_Cylinder::Print ( Standard_OStream & anOStream) const

◆ Radius()

double Vrml_Cylinder::Radius ( ) const

◆ SetHeight()

void Vrml_Cylinder::SetHeight ( const double aHeight)

◆ SetParts()

void Vrml_Cylinder::SetParts ( const Vrml_CylinderParts aParts)

◆ SetRadius()

void Vrml_Cylinder::SetRadius ( const double aRadius)

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