I need your suggestion. I have a question related to bridging or accessing properties (Edge or Vertex) after selecting face.
const Handle(AIS_InteractiveContext)& ctx = ...; //my AIS
while (ctx->MoreSelected() )
TopoDS_Shape sh = ctx->SelectedShape();
How do I access selected face's properties (such as: Edge or Vertex)?
I have tried to downcast, but still not working.
Handle (TopoDS_Face) face = Handle (TopoDS_Face)::DownCast(sh.TShape());