Open CASCADE Technology  7.7.0
Public Member Functions | Static Public Member Functions
StepData_GlobalFactors Class Reference

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_GlobalFactorsIntance ()
 Returns a global static object. More...
 

Detailed Description

Class for using global units variables.

Member Function Documentation

◆ CascadeUnit()

Standard_Real StepData_GlobalFactors::CascadeUnit ( )

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

◆ FactorDegreeRadian()

Standard_Real StepData_GlobalFactors::FactorDegreeRadian ( )

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

◆ FactorRadianDegree()

Standard_Real StepData_GlobalFactors::FactorRadianDegree ( )

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

◆ InitializeFactors()

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.

◆ Intance()

static StepData_GlobalFactors& StepData_GlobalFactors::Intance ( )
static

Returns a global static object.

◆ LengthFactor()

Standard_Real StepData_GlobalFactors::LengthFactor ( )

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

◆ PlaneAngleFactor()

Standard_Real StepData_GlobalFactors::PlaneAngleFactor ( )

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

◆ SetCascadeUnit()

void StepData_GlobalFactors::SetCascadeUnit ( const Standard_Real  theUnit)

Sets length unit for current transfer process.

◆ SolidAngleFactor()

Standard_Real StepData_GlobalFactors::SolidAngleFactor ( )

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: