|
Open CASCADE Technology 6.5.2
|
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
#include <Vrml_Cone.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| 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 |
| 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 |
| void Vrml_Cone::operator delete | ( | void * | anAddress | ) | [inline] |
| void* Vrml_Cone::operator new | ( | size_t | size | ) | [inline] |
| void* Vrml_Cone::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| 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 | ) |
1.7.4