+ /// Customize presentation of the feature
+ virtual bool customisePresentation(ResultPtr theResult, AISObjectPtr thePrs,
+ std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs)
+ {
+ bool isCustomized = false;
+ // apply the color of the result to the presentation
+ if (theDefaultPrs.get())
+ isCustomized = theDefaultPrs->customisePresentation(theResult, thePrs, theDefaultPrs);
+ // set the sketch presentation bold
+ isCustomized = thePrs->setWidth(2) || isCustomized;
+
+ return isCustomized;
+ }
+