Saneesh Kumar Fri, 05/27/2011 - 08:29 Forums: Other usage issuesCan i draw a line with two points say "gp_Pnt aPnt1(0 , 0 , 0)" and "gp_Pnt aPnt2(10. , 30 , 0)" and show it in the AIS_Context. Thank you for the help. Saneesh Kumar Fri, 05/27/2011 - 08:30 Sorry for Typing the wrong Subject Log in to post comments Saneesh Kumar Fri, 05/27/2011 - 08:54 Thank you I got it gp_Pnt aPnt1(0 , 0 , 0); gp_Pnt aPnt2(10. , 30 , 0); BRepBuilderAPI_MakeEdge myEdge(aPnt1, aPnt2); Handle(AIS_Shape) lineShape = new AIS_Shape(myEdge.Shape()); myAISContext->Display(lineShape); Log in to post comments
Fri, 05/27/2011 - 08:30
Sorry for Typing the wrong Subject
Fri, 05/27/2011 - 08:54
Thank you I got it
gp_Pnt aPnt1(0 , 0 , 0);
gp_Pnt aPnt2(10. , 30 , 0);
BRepBuilderAPI_MakeEdge myEdge(aPnt1, aPnt2);
Handle(AIS_Shape) lineShape = new AIS_Shape(myEdge.Shape());
myAISContext->Display(lineShape);