Wireframe selection presentation

Hello!
How can I adjust the presentation of the selection? If I create a cylinder solid in wireframe mode and set the selection mode to TopAbs_EDGE, then the selection of the circular edges at the ends of the cylinder looks bad. The selection is only a linear approximation to a circle and the color of the circle shows. How can this be changed? Is there, for example, a way to draw the selection with a thicker line?

Thanks,

Dirk

Svetlozar Kostadinov's picture

You need to reduce the deviation coeficient to make the arcs smoother. The thickness can be increased with AIS_InteractiveContext::SetWidth().

Dirk B's picture

Thanks!