Close

Relief for ODA Team in Ukraine

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

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.

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