blob: de1c356efd213a1466adc111354a8e3b73913fb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#include <StepBasic_ConversionBasedUnitAndLengthUnit.ixx>
#include <StepBasic_ConversionBasedUnit.hxx>
#include <StepBasic_LengthUnit.hxx>
StepBasic_ConversionBasedUnitAndLengthUnit::StepBasic_ConversionBasedUnitAndLengthUnit () {}
void StepBasic_ConversionBasedUnitAndLengthUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions)
{
StepBasic_NamedUnit::Init(aDimensions);
}
void StepBasic_ConversionBasedUnitAndLengthUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
const Handle(TCollection_HAsciiString)& aName,
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
{
// --- ANDOR componant fields ---
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
// --- ANDOR componant fields ---
lengthUnit = new StepBasic_LengthUnit();
lengthUnit->Init(aDimensions);
}
void StepBasic_ConversionBasedUnitAndLengthUnit::SetLengthUnit(const Handle(StepBasic_LengthUnit)& aLengthUnit)
{
lengthUnit = aLengthUnit;
}
Handle(StepBasic_LengthUnit) StepBasic_ConversionBasedUnitAndLengthUnit::LengthUnit() const
{
return lengthUnit;
}
|