API Reference > Classes > PRC Database Auxiliary Classes > OdPrcUnitsFormatterImpl Class
OdPrcUnitsFormatterImpl Class
OdPrcUnitsFormatterImplOdPrcUnitsFormatterImpl
Syntax
C++
class OdPrcUnitsFormatterImpl : public OdPrcUnitsFormatter;

PrcUnitsFormatterImpl.h

This class provides the default implementation for OdDbUnitsFormatter. 

 

 
Name 
Description 
 
Returns the specified 3D point value as a string.
 
 
Returns the specified string as a point value.
 
OdPrcUnitsFormatterImpl Class
 
Name 
Description 
 
Returns the specified angle value as a string. The returned value depends on the ANGBASE, AUNITS, AUPREC, DIMZIN, and UNITMODE system variables.
 
 
Returns the specified color value as a string.
 
 
Returns the specified distance value as a string. The returned value depends on the DIMZIN, LUNITS, LUPREC, and UNITMODE system variables.
 
 
Returns the specified 3D point value as a string. The returned value depends on the DIMZIN, LUNITS, LUPREC, and UNITMODE system variables.
 
 
Sets a database that the unit formatter is associated with.
 
 
Returns the specified string as an angle value. The returned value depends on the ANGBASE system variable.
 
 
Returns the specified string as a color value.
 
 
Returns the specified string as a distance value. The returned value depends on the UNITMODE system variable.
 
 
Returns the specified string as a point value.
 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.