Dot-dash line type TopoDS_Shape/Edge

Hello All,

I am creating a dot-dash line type in the viewer by creating AIS_Line and then setting the appropriate line aspect for that. Is it possible to get the TopoDS_Edge/Shape in the dot-dash form from it? Or is it possible to create TopoDS_Edge/Shape of that type in the first place?

Thanks & Regards,
Prajwal

Attachments: 
gkv311 n's picture

What do you mean by creating a dashed TopoDS_Edge? To display it using the same style via AIS_Shape? Then yes - you just need configuring presentation attributes.

This is normally a visualization feature - creating a dashed geometry doesn't sound useful to me. Such TopoDS_Edge will be discontinuous (hense, useless for any further operations) or constructed from numerous of TopoDS_Edge's.