API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::getDouble Method
OdResBuf::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.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.