28#if !defined(ODA_ODIFCUNITCONVERTER_H_INCLUDED_)
29#define ODA_ODIFCUNITCONVERTER_H_INCLUDED_
63 void appendUnit(
const OdAnsiString& unitType,
const OdDAIObjectId& unitId);
77 std::map<OdAnsiString, OdDAIObjectId> m_units;
79 double convertIfcConversionBasedUnit (
const OdDAIObjectId& unitId,
double val)
const;
80 double convertIfcConversionBasedUnitWithOffset(
const OdDAIObjectId& unitId,
double val)
const;
OdSharedPtr< OdIfcUnitConverter > OdIfcUnitConverterPtr
void appendUnit(const OdDAIObjectId &unitId)
void appendUnit(const OdAnsiString &unitType, const OdDAIObjectId &unitId)
double convertToSIUnit(const OdAnsiString &unitType, double val) const