mekibos Mon, 04/20/2009 - 07:14 Forums: Other usage issuesI have a necessity that insert null value into TopoDS_Shape. How to insert null value into TopoDS_Shape type? Marco Matt Mon, 04/20/2009 - 10:45 TopoDS_Shape shape; shape.IsNull() == true; shape = BRepLib_MakeEdge(gp_Pnt(0,0,0), gp_Pnt(1,1,1)).Edge(); shape.IsNull() == false; shape.Nullify(); shape.IsNull() == true; Log in to post comments Wang Chris Mon, 04/20/2009 - 10:46 TopoDS_Shape has a function of Nullify (). You can try it. Chris Log in to post comments mekibos Mon, 04/20/2009 - 17:00 OK! Thank you very much!! Log in to post comments Mikael Aronsson Tue, 04/21/2009 - 00:04 It is a bit useless to execute the expression: shape.IsNull() == false; Log in to post comments
Mon, 04/20/2009 - 10:45
TopoDS_Shape shape;
shape.IsNull() == true;
shape = BRepLib_MakeEdge(gp_Pnt(0,0,0), gp_Pnt(1,1,1)).Edge();
shape.IsNull() == false;
shape.Nullify();
shape.IsNull() == true;
Mon, 04/20/2009 - 10:46
TopoDS_Shape has a function of Nullify (). You can try it.
Chris
Mon, 04/20/2009 - 17:00
OK! Thank you very much!!
Tue, 04/21/2009 - 00:04
It is a bit useless to execute the expression:
shape.IsNull() == false;