Пример #1
0
 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);
     }
 }
Пример #2
0
 protected void MakeShape(TopoDS_Shape S, TopoDS_TShape T)
 {
     S.TShape(T);
     S.Location    = new TopLoc_Location();
     S.Orientation = TopAbs_Orientation.TopAbs_FORWARD;
 }
Пример #3
0
 /// <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;
 }