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