I need some help. I have a drawn box and when a move the mouse over the box i want to take the face over the mouse cursor like a TopoDS_Face.I am using this source
Handle_StdSelect_ViewerSelector3d hSelector = m_pAISContext->MainSelector();
TopoDS_Shape myFace =(TopoDS_Shape&)Handle(AIS_Shape)::DownCast( hSelector->Picked()->Selectable() )->Shape();
But myFace is not the face under the mouse cursor but the whole box
How i can get not the whole box under the mouse cursor but only the face?
Thanks in advanced