Open CASCADE Technology  7.1.0.beta
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

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

Returns value of current internal unit for CASCADE in millemeters.

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.

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.

static Standard_Real UnitsMethods::LengthFactor ( )
static
static Handle< Geom2d_Curve > UnitsMethods::MirrorPCurve ( const Handle< Geom2d_Curve > &  C)
static
static Standard_Real UnitsMethods::PlaneAngleFactor ( )
static
static Handle< Geom2d_Curve > UnitsMethods::RadianToDegree ( const Handle< Geom2d_Curve > &  C,
const Handle< Geom_Surface > &  S 
)
static
static void UnitsMethods::Set3dConversion ( const Standard_Boolean  B)
static
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)

static Standard_Real UnitsMethods::SolidAngleFactor ( )
static

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