How to display a BSpline curve

How to display a BSpline curve in the AIS_InteractiveContext ?

Handle(Geom_BSplineCurve) SPL1 = GeomAPI_PointsToBSpline(array).Curve();

Thanks

QbProg's picture

You should create a TopoDS_Shape from the curve (BRepBuilderAPI_MakeEdge) and the create an AIS_Shape with it.