|
Open CASCADE Technology 6.5.2
|
defines a Cube node of VRML specifying geometry shapes.
This node represents a cuboid aligned with the coordinate axes.
By default , the cube is centred at (0,0,0) and measures 2 units
in each dimension, from -1 to +1.
A cube's width is its extent along its object-space X axis, its height is
its extent along the object-space Y axis, and its depth is its extent along its
object-space Z axis.
#include <Vrml_Cube.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Vrml_Cube (const Standard_Real aWidth=2, const Standard_Real aHeight=2, const Standard_Real aDepth=2) | |
| void | SetWidth (const Standard_Real aWidth) |
| Standard_Real | Width () const |
| void | SetHeight (const Standard_Real aHeight) |
| Standard_Real | Height () const |
| void | SetDepth (const Standard_Real aDepth) |
| Standard_Real | Depth () const |
| Standard_OStream & | Print (Standard_OStream &anOStream) const |
| Vrml_Cube::Vrml_Cube | ( | const Standard_Real | aWidth = 2, |
| const Standard_Real | aHeight = 2, |
||
| const Standard_Real | aDepth = 2 |
||
| ) |
| Standard_Real Vrml_Cube::Depth | ( | ) | const |
| Standard_Real Vrml_Cube::Height | ( | ) | const |
| void Vrml_Cube::operator delete | ( | void * | anAddress | ) | [inline] |
| void* Vrml_Cube::operator new | ( | size_t | size | ) | [inline] |
| void* Vrml_Cube::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| Standard_OStream& Vrml_Cube::Print | ( | Standard_OStream & | anOStream | ) | const |
| void Vrml_Cube::SetDepth | ( | const Standard_Real | aDepth | ) |
| void Vrml_Cube::SetHeight | ( | const Standard_Real | aHeight | ) |
| void Vrml_Cube::SetWidth | ( | const Standard_Real | aWidth | ) |
| Standard_Real Vrml_Cube::Width | ( | ) | const |
1.7.4