Open CASCADE Technology  7.4.0
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 Standard_Real aRadius=1, const Standard_Real aHeight=2)
 
void SetParts (const Vrml_CylinderParts aParts)
 
Vrml_CylinderParts Parts () const
 
void SetRadius (const Standard_Real aRadius)
 
Standard_Real Radius () const
 
void SetHeight (const Standard_Real aHeight)
 
Standard_Real 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 Standard_Real  aRadius = 1,
const Standard_Real  aHeight = 2 
)

Member Function Documentation

◆ Height()

Standard_Real Vrml_Cylinder::Height ( ) const

◆ Parts()

Vrml_CylinderParts Vrml_Cylinder::Parts ( ) const

◆ Print()

Standard_OStream& Vrml_Cylinder::Print ( Standard_OStream anOStream) const

◆ Radius()

Standard_Real Vrml_Cylinder::Radius ( ) const

◆ SetHeight()

void Vrml_Cylinder::SetHeight ( const Standard_Real  aHeight)

◆ SetParts()

void Vrml_Cylinder::SetParts ( const Vrml_CylinderParts  aParts)

◆ SetRadius()

void Vrml_Cylinder::SetRadius ( const Standard_Real  aRadius)

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