![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Class for using units variables. More...
#include <StepData_Factors.hxx>
Public Member Functions | |
| StepData_Factors () | |
| Constructor. | |
| void | InitializeFactors (const double theLengthFactor, const double thePlaneAngleFactor, const double theSolidAngleFactor) |
| Initializes the 3 factors for the conversion of units. | |
| void | SetCascadeUnit (const double theUnit) |
| Sets length unit for current transfer process. | |
| double | CascadeUnit () const |
| Returns length unit for current transfer process (mm by default) | |
| double | LengthFactor () const |
| Returns transient length factor for scaling of shapes at one stage of transfer process. | |
| double | PlaneAngleFactor () const |
| Returns transient plane angle factor for conversion of angles at one stage of transfer process. | |
| double | SolidAngleFactor () const |
| Returns transient solid angle factor for conversion of angles at one stage of transfer process. | |
| double | FactorRadianDegree () const |
| Returns transient factor radian degree for conversion of angles at one stage of transfer process. | |
| double | FactorDegreeRadian () const |
| Returns transient factor degree radian for conversion of angles at one stage of transfer process. | |
Class for using units variables.
| StepData_Factors::StepData_Factors | ( | ) |
Constructor.
| double StepData_Factors::CascadeUnit | ( | ) | const |
Returns length unit for current transfer process (mm by default)
| double StepData_Factors::FactorDegreeRadian | ( | ) | const |
Returns transient factor degree radian for conversion of angles at one stage of transfer process.
| double StepData_Factors::FactorRadianDegree | ( | ) | const |
Returns transient factor radian degree for conversion of angles at one stage of transfer process.
| void StepData_Factors::InitializeFactors | ( | const double | theLengthFactor, |
| const double | thePlaneAngleFactor, | ||
| const double | theSolidAngleFactor ) |
Initializes the 3 factors for the conversion of units.
| double StepData_Factors::LengthFactor | ( | ) | const |
Returns transient length factor for scaling of shapes at one stage of transfer process.
| double StepData_Factors::PlaneAngleFactor | ( | ) | const |
Returns transient plane angle factor for conversion of angles at one stage of transfer process.
Sets length unit for current transfer process.
| double StepData_Factors::SolidAngleFactor | ( | ) | const |
Returns transient solid angle factor for conversion of angles at one stage of transfer process.