#include <Quantity_ColorRGBA.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Standard_OutOfRange.hxx>
+#include <Standard_Dump.hxx>
#include <TCollection_AsciiString.hxx>
#include <string.h>
if (h < 0.0) h += 360.0;
}
}
+
+//=======================================================================
+//function : DumpJson
+//purpose :
+//=======================================================================
+void Quantity_Color::DumpJson (Standard_OStream& theOStream, const Standard_Integer) const
+{
+ DUMP_CLASS_BEGIN (theOStream, Quantity_Color);
+ DUMP_FIELD_VALUES_NUMERICAL (theOStream, "RGB", 3, MyRed, MyGreen, MyBlue)
+}