protected TopoDS_TShape(TopoDS_TShape tShape) { Free = tShape.Free; Locked = tShape.Locked; Modified = tShape.Modified; Checked = tShape.Checked; Orientable = tShape.Orientable; Closed = tShape.Closed; Infinite = tShape.Infinite; Convex = tShape.Convex; myShapes = new TopoDS_ListOfShape(); foreach (var shape in tShape.myShapes) { myShapes.Append(shape); } }
protected void MakeShape(TopoDS_Shape S, TopoDS_TShape T) { S.TShape(T); S.Location = new TopLoc_Location(); S.Orientation = TopAbs_Orientation.TopAbs_FORWARD; }
/// <summary> /// Destroys the reference to the underlying shape /// stored in this shape. As a result, this shape becomes null. /// </summary> public void Nullify() { myTShape = null; }