Open CASCADE Technology  6.9.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 ( const Vrml_CylinderParts  aParts = Vrml_CylinderALL,
const Standard_Real  aRadius = 1,
const Standard_Real  aHeight = 2 
)

Member Function Documentation

Standard_Real Vrml_Cylinder::Height ( ) const
Vrml_CylinderParts Vrml_Cylinder::Parts ( ) const
Standard_OStream& Vrml_Cylinder::Print ( Standard_OStream anOStream) const
Standard_Real Vrml_Cylinder::Radius ( ) const
void Vrml_Cylinder::SetHeight ( const Standard_Real  aHeight)
void Vrml_Cylinder::SetParts ( const Vrml_CylinderParts  aParts)
void Vrml_Cylinder::SetRadius ( const Standard_Real  aRadius)

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