Methods to get/set context introduced
---Purpose: Gives the sewed shape
-- a null shape if nothing constructed
-- may be a face, a shell, a solid or a compound
+
+ SetContext(me : mutable; theContext : ReShape from BRepTools);
+ ---Purpose: set context
+
+ GetContext(me) returns ReShape from BRepTools;
+ ---C++: return const &
+ ---Purpose: return context
NbFreeEdges(me) returns Integer;
---Purpose: Gives the number of free edges (edge shared by one face)
myResInd.Append (theTarget);
return CellFilter_Keep;
}
+
+//=======================================================================
+//function : Context
+//purpose :
+//=======================================================================
+const Handle(BRepTools_ReShape)& BRepBuilderAPI_Sewing::GetContext() const
+{
+ return myReShape;
+}
+
+//=======================================================================
+//function : SetContext
+//purpose :
+//=======================================================================
+void BRepBuilderAPI_Sewing::SetContext(const Handle(BRepTools_ReShape)& theContext)
+{
+ myReShape = theContext;
+}
+