I am creating one box here and I want to delete that box explicitly.
How to do this ?
BRepPrimAPI_MakeBox* b1 = new BRepPrimAPI_MakeBox(gp_Pnt(0, 0, 0), 780, 90, 60);
TopoDS_Shape S1 = b1->Shape();
ais1 = new AIS_Shape(S1);
Can I call Delete() function on b1 to delete it ? Or Nullify() to S1 ?