Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgResBuf::getDouble Method
Syntax
C++
double getDouble() const;

Returns the data content of the ResBuf object as a double-precision floating-point value.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Double or Angle type. The returned value can be converted to an Integer value truncating the fractional part.

Example of Entering and Displaying Tagged Data 

Getting and Setting Typical Data (integer 

Determining the Data Type by Group Code 

OdResBuf::setDouble(), OdResBuf::restype(), OdDxfCode::_getType() methods

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