Open CASCADE Technology
7.3.0
|
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_OStream & | Print (Standard_OStream &anOStream) const |
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
Vrml_Cone::Vrml_Cone | ( | const Vrml_ConeParts | aParts = Vrml_ConeALL , |
const Standard_Real | aBottomRadius = 1 , |
||
const Standard_Real | aHeight = 2 |
||
) |
Standard_Real Vrml_Cone::BottomRadius | ( | ) | const |
Standard_Real Vrml_Cone::Height | ( | ) | const |
Vrml_ConeParts Vrml_Cone::Parts | ( | ) | const |
Standard_OStream& Vrml_Cone::Print | ( | Standard_OStream & | anOStream | ) | const |
void Vrml_Cone::SetBottomRadius | ( | const Standard_Real | aBottomRadius | ) |
void Vrml_Cone::SetHeight | ( | const Standard_Real | aHeight | ) |
void Vrml_Cone::SetParts | ( | const Vrml_ConeParts | aParts | ) |