Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 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.
 

Detailed Description

Class for using units variables.

Constructor & Destructor Documentation

◆ StepData_Factors()

StepData_Factors::StepData_Factors ( )

Constructor.

Member Function Documentation

◆ CascadeUnit()

double StepData_Factors::CascadeUnit ( ) const

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

◆ FactorDegreeRadian()

double StepData_Factors::FactorDegreeRadian ( ) const

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

◆ FactorRadianDegree()

double 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 double theLengthFactor,
const double thePlaneAngleFactor,
const double theSolidAngleFactor )

Initializes the 3 factors for the conversion of units.

◆ LengthFactor()

double StepData_Factors::LengthFactor ( ) const

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

◆ PlaneAngleFactor()

double 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 double theUnit)

Sets length unit for current transfer process.

◆ SolidAngleFactor()

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