#include <ModelAPI_AttributeDouble.h>
#include <GeomDataAPI_Point.h>
+
+#include <sstream>
//--------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------
return myDouble;
}
+std::string ModelHighAPI_Double::string() const
+{
+ if (myVariantType == VT_STRING)
+ return myString;
+
+ std::ostringstream anOut;
+ anOut << myDouble;
+ return anOut.str();
+}
+
//--------------------------------------------------------------------------------------
void ModelHighAPI_Double::fillAttribute(
const std::shared_ptr<ModelAPI_AttributeDouble> & theAttribute) const