Open CASCADE Technology 7.8.0
Public Member Functions
StepData_Factors Class Reference

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.
 

Detailed Description

Class for using units variables.

Constructor & Destructor Documentation

◆ StepData_Factors()

StepData_Factors::StepData_Factors ( )

Constructor.

Member Function Documentation

◆ CascadeUnit()

Standard_Real StepData_Factors::CascadeUnit ( ) const

Returns length unit for current transfer process (mm by default)

◆ FactorDegreeRadian()

Standard_Real StepData_Factors::FactorDegreeRadian ( ) const

Returns transient factor degree radian for conversion of angles at one stage of transfer process.

◆ FactorRadianDegree()

Standard_Real StepData_Factors::FactorRadianDegree ( ) const

Returns transient factor radian degree for conversion of angles at one stage of transfer process.

◆ InitializeFactors()

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.

◆ LengthFactor()

Standard_Real StepData_Factors::LengthFactor ( ) const

Returns transient length factor for scaling of shapes at one stage of transfer process.

◆ PlaneAngleFactor()

Standard_Real StepData_Factors::PlaneAngleFactor ( ) const

Returns transient plane angle factor for conversion of angles at one stage of transfer process.

◆ SetCascadeUnit()

void StepData_Factors::SetCascadeUnit ( const Standard_Real  theUnit)

Sets length unit for current transfer process.

◆ SolidAngleFactor()

Standard_Real StepData_Factors::SolidAngleFactor ( ) const

Returns transient solid angle factor for conversion of angles at one stage of transfer process.


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