Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcUnitConverter::convertToSIUnit Method
Syntax
C++
double convertToSIUnit(const OdAnsiString& unitType, double val) const;

Performs an attempt to convert a specified unit to the SI unit.

Parameters
Description
unitType
[in] A string that contains the type of the unit to be converted.
val
[in] A unit value.

A double value that contains the converted value of the specified unit type.

The unit type value must belong to the IfcUnitEnum of the current schema.

Copyright © 2002-2022. Open Design Alliance All rights reserved.