I'm try to create some lined shape with BRep_Builder. And after creating the resulting shape can't be Picked with StdSelect_ViewerSelector3d. It's don't working if I'm use BRep_Builder::MakeEdge with Poly_Polygon3D, but working on another curves. Object displayed, but can't be selected:
TColgp_Array1OfPnt array (1,5); // sizing array
Handle(Poly_Polygon3D) aPolygon = new Poly_Polygon3D(array);
TopoDS_Edge& E = TopoDS::Edge(ResultShape);
After I'm creating a AISPresentation and created rectangle are displayed correctly, but can't be selected.
I'm think may be here is not completed code of StdSelect_ViewerSelector3d. It's very hard to understand because in sources of OCC many inline functions and they are *.lxx in inc directory...