Open CASCADE Technology  7.2.0
Public Member Functions
Vrml_Cone Class Reference

defines a Cone node of VRML specifying geometry shapes. This node represents a simple cone, whose central axis is aligned with the y-axis. By default , the cone is centred at (0,0,0) and has size of -1 to +1 in the all three directions. the cone has a radius of 1 at the bottom and height of 2, with its apex at 1 and its bottom at -1. The cone has two parts: the sides and the bottom More...

#include <Vrml_Cone.hxx>

Public Member Functions

 Vrml_Cone (const Vrml_ConeParts aParts=Vrml_ConeALL, const Standard_Real aBottomRadius=1, const Standard_Real aHeight=2)
 
void SetParts (const Vrml_ConeParts aParts)
 
Vrml_ConeParts Parts () const
 
void SetBottomRadius (const Standard_Real aBottomRadius)
 
Standard_Real BottomRadius () const
 
void SetHeight (const Standard_Real aHeight)
 
Standard_Real Height () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

defines a Cone node of VRML specifying geometry shapes. This node represents a simple cone, whose central axis is aligned with the y-axis. By default , the cone is centred at (0,0,0) and has size of -1 to +1 in the all three directions. the cone has a radius of 1 at the bottom and height of 2, with its apex at 1 and its bottom at -1. The cone has two parts: the sides and the bottom

Constructor & Destructor Documentation

◆ Vrml_Cone()

Vrml_Cone::Vrml_Cone ( const Vrml_ConeParts  aParts = Vrml_ConeALL,
const Standard_Real  aBottomRadius = 1,
const Standard_Real  aHeight = 2 
)

Member Function Documentation

◆ BottomRadius()

Standard_Real Vrml_Cone::BottomRadius ( ) const

◆ Height()

Standard_Real Vrml_Cone::Height ( ) const

◆ Parts()

Vrml_ConeParts Vrml_Cone::Parts ( ) const

◆ Print()

Standard_OStream& Vrml_Cone::Print ( Standard_OStream anOStream) const

◆ SetBottomRadius()

void Vrml_Cone::SetBottomRadius ( const Standard_Real  aBottomRadius)

◆ SetHeight()

void Vrml_Cone::SetHeight ( const Standard_Real  aHeight)

◆ SetParts()

void Vrml_Cone::SetParts ( const Vrml_ConeParts  aParts)

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