Open CASCADE Technology  7.1.0.beta
Public Member Functions
Prs3d_DimensionUnits Class Reference

This class provides units for two dimension groups: More...

#include <Prs3d_DimensionUnits.hxx>

Public Member Functions

 Prs3d_DimensionUnits ()
 Default constructor. Sets meters as default length units and radians as default angle units. More...
 
 Prs3d_DimensionUnits (const Prs3d_DimensionUnits &theUnits)
 
void SetAngleUnits (const TCollection_AsciiString &theUnits)
 Sets angle units. More...
 
const TCollection_AsciiStringGetAngleUnits () const
 
void SetLengthUnits (const TCollection_AsciiString &theUnits)
 Sets length units. More...
 
const TCollection_AsciiStringGetLengthUnits () const
 

Detailed Description

This class provides units for two dimension groups:

Constructor & Destructor Documentation

Prs3d_DimensionUnits::Prs3d_DimensionUnits ( )
inline

Default constructor. Sets meters as default length units and radians as default angle units.

Prs3d_DimensionUnits::Prs3d_DimensionUnits ( const Prs3d_DimensionUnits theUnits)
inline

Member Function Documentation

const TCollection_AsciiString& Prs3d_DimensionUnits::GetAngleUnits ( ) const
inline
Returns
angle units
const TCollection_AsciiString& Prs3d_DimensionUnits::GetLengthUnits ( ) const
inline
Returns
length units
void Prs3d_DimensionUnits::SetAngleUnits ( const TCollection_AsciiString theUnits)

Sets angle units.

void Prs3d_DimensionUnits::SetLengthUnits ( const TCollection_AsciiString theUnits)

Sets length units.


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