According to the documentation of Graphic3d_Structure::Connect(), "The connection propagates Display, Highlight, Erase, Remove, and stacks the transformations."
The following code is expected to display the presentations of both lines, but it doesn't. It only displays prsLine1. What are we doing wrong?
Handle(Prs3d_Presentation) prsLine1 = new Prs3d_Presentation(myContext->CurrentViewer()->Viewer());
Handle(Prs3d_Presentation) prsLine2 = new Prs3d_Presentation(myContext->CurrentViewer()->Viewer());