|
Open CASCADE Technology
7.6.0
|
Class for using global units variables. More...
#include <StepData_GlobalFactors.hxx>
Public Member Functions | |
| void | InitializeFactors (const Standard_Real theLengthFactor, const Standard_Real thePlaneAngleFactor, const Standard_Real theSolidAngleFactor) |
| Initializes the 3 factors for the conversion of units. More... | |
| void | SetCascadeUnit (const Standard_Real theUnit) |
| Sets length unit for current transfer process. More... | |
| Standard_Real | CascadeUnit () |
| Returns length unit for current transfer process (mm by default) More... | |
| Standard_Real | LengthFactor () |
| Returns transient length factor for scaling of shapes at one stage of transfer process. More... | |
| Standard_Real | PlaneAngleFactor () |
| Returns transient plane angle factor for conversion of angles at one stage of transfer process. More... | |
| Standard_Real | SolidAngleFactor () |
| Returns transient solid angle factor for conversion of angles at one stage of transfer process. More... | |
| Standard_Real | FactorRadianDegree () |
| Returns transient factor radian degree for conversion of angles at one stage of transfer process. More... | |
| Standard_Real | FactorDegreeRadian () |
| Returns transient factor degree radian for conversion of angles at one stage of transfer process. More... | |
Static Public Member Functions | |
| static StepData_GlobalFactors & | Intance () |
| Returns a global static object. More... | |
Class for using global units variables.
| Standard_Real StepData_GlobalFactors::CascadeUnit | ( | ) |
Returns length unit for current transfer process (mm by default)
| Standard_Real StepData_GlobalFactors::FactorDegreeRadian | ( | ) |
Returns transient factor degree radian for conversion of angles at one stage of transfer process.
| Standard_Real StepData_GlobalFactors::FactorRadianDegree | ( | ) |
Returns transient factor radian degree for conversion of angles at one stage of transfer process.
| void StepData_GlobalFactors::InitializeFactors | ( | const Standard_Real | theLengthFactor, |
| const Standard_Real | thePlaneAngleFactor, | ||
| const Standard_Real | theSolidAngleFactor | ||
| ) |
Initializes the 3 factors for the conversion of units.
|
static |
Returns a global static object.
| Standard_Real StepData_GlobalFactors::LengthFactor | ( | ) |
Returns transient length factor for scaling of shapes at one stage of transfer process.
| Standard_Real StepData_GlobalFactors::PlaneAngleFactor | ( | ) |
Returns transient plane angle factor for conversion of angles at one stage of transfer process.
| void StepData_GlobalFactors::SetCascadeUnit | ( | const Standard_Real | theUnit | ) |
Sets length unit for current transfer process.
| Standard_Real StepData_GlobalFactors::SolidAngleFactor | ( | ) |
Returns transient solid angle factor for conversion of angles at one stage of transfer process.