Open CASCADE Technology: Prs3d_DimensionUnits Class Reference

Open CASCADE Technology 6.8.0

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

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_AsciiString & | GetAngleUnits () const
void | SetLengthUnits (const TCollection_AsciiString &theUnits)
| Sets length units. More...
const TCollection_AsciiString & | GetLengthUnits () const

## Detailed Description

This class provides units for two dimension groups:

- lengthes (length, radius, diameter)
- angles

## 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:

- Prs3d_DimensionUnits.hxx