Class Ifc4x2::IfcConversionBasedUnitWithOffset¶
Defined in File Ifc4x2.h
Nested Relationships¶
This class is a nested type of Struct Ifc4x2.
Inheritance Relationships¶
Base Type¶
public Ifc4x2::IfcConversionBasedUnit
(Class Ifc4x2::IfcConversionBasedUnit)
Class Documentation¶
-
class
Ifc4x2
::
IfcConversionBasedUnitWithOffset
: public Ifc4x2::IfcConversionBasedUnit¶ IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset.
HISTORY New entity in IFC 2x4.
Example: The temperature unit Fahrenheit is based on the temperature unit Kelvin as follows:
f=k·1.8–459.67
wherein k is an absolute temperature expressed in Kelvin and f is the same temperature in Fahrenheit. The following entity instances provide Fahrenheit as a unit:
IfcConversionBasedUnitWithOffset( IfcDimensionalExponents(0, 0, 0, 0, 1, 0, 0), THERMODYNAMICTEMPERATUREUNIT, ‘Fahrenheit’, IfcMeasureWithUnit( IfcThermodynamicTemperatureMeasure(1.8), IfcSiUnit(THERMODYNAMICTEMPERATUREUNIT, ?, KELVIN)), -459.67);
Public Types
-
typedef IfcTemplatedEntityList<IfcConversionBasedUnitWithOffset>
list
¶
Public Functions
-
double
ConversionOffset
() const¶ A positive or negative offset to add after the inherited ConversionFactor was applied.
-
void
setConversionOffset
(double v)¶
-
IfcConversionBasedUnitWithOffset
(IfcEntityInstanceData *e)¶
-
IfcConversionBasedUnitWithOffset
(::Ifc4x2::IfcDimensionalExponents *v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x2::IfcMeasureWithUnit *v4_ConversionFactor, double v5_ConversionOffset)¶
-
typedef IfcTemplatedEntityList<IfcConversionBasedUnitWithOffset>