Class Ifc4::IfcConversionBasedUnitWithOffset

Nested Relationships

This class is a nested type of Struct Ifc4.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4::IfcConversionBasedUnitWithOffset : public Ifc4::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 Functions

double ConversionOffset() const

A positive or negative offset to add after the inherited ConversionFactor was applied.

void setConversionOffset(double v)
const IfcParse::entity &declaration() const
IfcConversionBasedUnitWithOffset(IfcEntityInstanceData *e)
IfcConversionBasedUnitWithOffset(::Ifc4::IfcDimensionalExponents *v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4::IfcMeasureWithUnit *v4_ConversionFactor, double v5_ConversionOffset)

Public Static Functions

const IfcParse::entity &Class()