Open CASCADE Technology
7.5.0
|
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. More...
#include <Vrml_Cube.hxx>
Public Member Functions | |
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 |
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.
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 |
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 |