Open CASCADE Technology  7.5.0
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() [1/2]

Prs3d_DimensionUnits::Prs3d_DimensionUnits ( )
inline

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

◆ Prs3d_DimensionUnits() [2/2]

Prs3d_DimensionUnits::Prs3d_DimensionUnits ( const Prs3d_DimensionUnits theUnits)
inline

Member Function Documentation

◆ GetAngleUnits()

const TCollection_AsciiString& Prs3d_DimensionUnits::GetAngleUnits ( ) const
inline
Returns
angle units

◆ GetLengthUnits()

const TCollection_AsciiString& Prs3d_DimensionUnits::GetLengthUnits ( ) const
inline
Returns
length units

◆ SetAngleUnits()

void Prs3d_DimensionUnits::SetAngleUnits ( const TCollection_AsciiString theUnits)
inline

Sets angle units.

◆ SetLengthUnits()

void Prs3d_DimensionUnits::SetLengthUnits ( const TCollection_AsciiString theUnits)
inline

Sets length units.


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