-
-void SketcherPrs_Coincident::SetColor(const Quantity_NameOfColor aCol)
-{
- SetColor(Quantity_Color(aCol));
-}
-
-void SketcherPrs_Coincident::SetColor(const Quantity_Color &aCol)
-{
- hasOwnColor=Standard_True;
-}
-
-void SketcherPrs_Coincident::SetCustomColor(const std::vector<int>& theColor)
-{
- myIsCustomColor = !theColor.empty();
- if (myIsCustomColor)
- myCustomColor = Quantity_Color(theColor[0] / 255., theColor[1] / 255.,
- theColor[2] / 255., Quantity_TOC_RGB);
- else
- myCustomColor = Quantity_Color();
-}