API Reference > Classes > Database Classes > OdBmUnitUtils Class
OdBmUnitUtils Class
Syntax
C++
class OdBmUnitUtils;

BmUnitUtils.h

Converts 2d point from one unit to another.
 
Converts 3d point from one unit to another.
 
Converts a value from one unit to another.
 
Converts a value from internally stored in DB to desired unit.
 
Converts a value from current unit to DB stored value.
 
Returns decimal symbol char by enum value.
 
Returns default unit of measurement for given spec type.
 
Returns default unit of measurement for given spec type.
 
Returns unit discipline given spec type belongs to.
 
Returns grouping symbol char by enum value.
 
Gets maximum accuracy by given spec type and unit of measurement.
 
Returns scale value as a string.
 
Returns spec type info by OdBmForgeTypeId.
 
Returns symbol type info by OdBmForgeTypeId.
 
Returns spec type catalog string.
 
Returns unit of measurement catalog string.
 
Returns unit of measurement info by OdBmForgeTypeId.
 
Returns array of spec types.
 
Forms an array of units of measurement that belong to given spec type.
 
Returns array of units of measurement.
 
Returns array of symbol types.
 
Checks if scale is predifined in the given unit system.
 
Checks if spec type valid.
 
Checks if unit of measurement valid.
 
Checks if unit of measurement valid and belongs to spec type.
 
Contains information about the spec type. 
Contains information about the symbol type. 
Contains information about the unit of measurement. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.