Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Vrml_Cube Class Reference

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 double aWidth=2, const double aHeight=2, const double aDepth=2)
 
void SetWidth (const double aWidth)
 
double Width () const
 
void SetHeight (const double aHeight)
 
double Height () const
 
void SetDepth (const double aDepth)
 
double Depth () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Vrml_Cube()

Vrml_Cube::Vrml_Cube ( const double aWidth = 2,
const double aHeight = 2,
const double aDepth = 2 )

Member Function Documentation

◆ Depth()

double Vrml_Cube::Depth ( ) const

◆ Height()

double Vrml_Cube::Height ( ) const

◆ Print()

Standard_OStream & Vrml_Cube::Print ( Standard_OStream & anOStream) const

◆ SetDepth()

void Vrml_Cube::SetDepth ( const double aDepth)

◆ SetHeight()

void Vrml_Cube::SetHeight ( const double aHeight)

◆ SetWidth()

void Vrml_Cube::SetWidth ( const double aWidth)

◆ Width()

double Vrml_Cube::Width ( ) const

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