Luc Wens Sat, 04/30/2022 - 11:53 Forums: Visualization and 3D ViewerI want to show an arc based on 3 points, GC_MakeArcOfCircle seems to be a good starting point, but how do I get an AIS_InteractiveObject out of that? Kirill Gavrilov Sat, 04/30/2022 - 13:20 AIS_Shape is a universal interactive object for displaying geometry. You just need creating TopoDS_Edge out of your's Geom_Curve to be able to use it. Log in to post comments Sathiya nathan Sat, 04/30/2022 - 13:36 Handle(Geom_TrimmedCurve) anArcOfCircle = GC_MakeArcOfCircle (aPnt1, aPnt2, aPnt3); Handle(AIS_Shape) aisShape = new AIS_Shape( BRepBuilderAPI_MakeEdge(anArcOfCircle) ); Log in to post comments Luc Wens Sun, 05/01/2022 - 11:50 Great, tnx Log in to post comments
Sat, 04/30/2022 - 13:20
AIS_Shape is a universal interactive object for displaying geometry. You just need creating TopoDS_Edge out of your's Geom_Curve to be able to use it.
Sat, 04/30/2022 - 13:36
Sun, 05/01/2022 - 11:50
Great, tnx