Open CASCADE Technology  7.3.1.dev
Static Public Member Functions
UnitsMethods Class Reference

#include <UnitsMethods.hxx>

Static Public Member Functions

static void InitializeFactors (const Standard_Real LengthFactor, const Standard_Real PlaneAngleFactor, const Standard_Real SolidAngleFactor)
 Initializes the 3 factors for the conversion of units. More...
 
static Standard_Real LengthFactor ()
 
static Standard_Real PlaneAngleFactor ()
 
static Standard_Real SolidAngleFactor ()
 
static void Set3dConversion (const Standard_Boolean B)
 
static Standard_Boolean Convert3d ()
 
static Handle< Geom2d_CurveRadianToDegree (const Handle< Geom2d_Curve > &C, const Handle< Geom_Surface > &S)
 
static Handle< Geom2d_CurveDegreeToRadian (const Handle< Geom2d_Curve > &C, const Handle< Geom_Surface > &S)
 
static Handle< Geom2d_CurveMirrorPCurve (const Handle< Geom2d_Curve > &C)
 
static Standard_Real GetLengthFactorValue (const Standard_Integer param)
 Returns value of unit encoded by parameter param (integer value denoting unit, as described in IGES standard) in millimeters. More...
 
static Standard_Real GetCasCadeLengthUnit ()
 Returns value of current internal unit for CASCADE in millemeters. More...
 
static void SetCasCadeLengthUnit (const Standard_Integer param)
 Sets value of current internal unit for CASCADE by parameter param (integer value denoting unit, as described in IGES standard) GetCasCadeLengthUnit() will then return value equal to GetLengthFactorValue(param) More...
 

Member Function Documentation

◆ Convert3d()

static Standard_Boolean UnitsMethods::Convert3d ( )
static

◆ DegreeToRadian()

static Handle< Geom2d_Curve > UnitsMethods::DegreeToRadian ( const Handle< Geom2d_Curve > &  C,
const Handle< Geom_Surface > &  S 
)
static

◆ GetCasCadeLengthUnit()

static Standard_Real UnitsMethods::GetCasCadeLengthUnit ( )
static

Returns value of current internal unit for CASCADE in millemeters.

◆ GetLengthFactorValue()

static Standard_Real UnitsMethods::GetLengthFactorValue ( const Standard_Integer  param)
static

Returns value of unit encoded by parameter param (integer value denoting unit, as described in IGES standard) in millimeters.

◆ InitializeFactors()

static void UnitsMethods::InitializeFactors ( const Standard_Real  LengthFactor,
const Standard_Real  PlaneAngleFactor,
const Standard_Real  SolidAngleFactor 
)
static

Initializes the 3 factors for the conversion of units.

◆ LengthFactor()

static Standard_Real UnitsMethods::LengthFactor ( )
static

◆ MirrorPCurve()

static Handle< Geom2d_Curve > UnitsMethods::MirrorPCurve ( const Handle< Geom2d_Curve > &  C)
static

◆ PlaneAngleFactor()

static Standard_Real UnitsMethods::PlaneAngleFactor ( )
static

◆ RadianToDegree()

static Handle< Geom2d_Curve > UnitsMethods::RadianToDegree ( const Handle< Geom2d_Curve > &  C,
const Handle< Geom_Surface > &  S 
)
static

◆ Set3dConversion()

static void UnitsMethods::Set3dConversion ( const Standard_Boolean  B)
static

◆ SetCasCadeLengthUnit()

static void UnitsMethods::SetCasCadeLengthUnit ( const Standard_Integer  param)
static

Sets value of current internal unit for CASCADE by parameter param (integer value denoting unit, as described in IGES standard) GetCasCadeLengthUnit() will then return value equal to GetLengthFactorValue(param)

◆ SolidAngleFactor()

static Standard_Real UnitsMethods::SolidAngleFactor ( )
static

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