mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028642: BRepOffsetAPI_ThruSections/BRepFill_Generator are modifying the input shape sections
1) BRepFill_Generator and BRepOffsetAPI_ThruSections now support 'non-destructive' mode for the input shapes (sections wires). The shape history of this algorithms also has been modified. 2) New test grids (based on the previous ones) have been added. These new cases use locked shapes as input arguments 3) The option '-safe' has been added to 'thrusections' command
This commit is contained in:
@@ -24,11 +24,12 @@
|
||||
#include <TopTools_SequenceOfShape.hxx>
|
||||
#include <TopoDS_Shell.hxx>
|
||||
#include <TopTools_DataMapOfShapeListOfShape.hxx>
|
||||
#include <TopTools_DataMapOfShapeShape.hxx>
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
#include <BRepTools_ReShape.hxx>
|
||||
class TopoDS_Wire;
|
||||
class TopoDS_Shape;
|
||||
|
||||
|
||||
//! Compute a topological surface ( a shell) using
|
||||
//! generating wires. The face of the shell will be
|
||||
//! ruled surfaces passing by the wires.
|
||||
@@ -56,31 +57,31 @@ public:
|
||||
//! <SSection> of a section.
|
||||
Standard_EXPORT const TopTools_ListOfShape& GeneratedShapes (const TopoDS_Shape& SSection) const;
|
||||
|
||||
//! Returns a modified shape in the constructed shell,
|
||||
//! If shape is not changed (replaced) during operation => returns the same shape
|
||||
Standard_EXPORT TopoDS_Shape ResultShape (const TopoDS_Shape& theShape) const;
|
||||
|
||||
|
||||
//! Sets the mutable input state
|
||||
//! If true then the input profile can be modified
|
||||
//! inside the operation. Default value is true.
|
||||
Standard_EXPORT void SetMutableInput(const Standard_Boolean theIsMutableInput);
|
||||
|
||||
//! Returns the current mutable input state
|
||||
Standard_EXPORT Standard_Boolean IsMutableInput() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
TopTools_SequenceOfShape myWires;
|
||||
TopoDS_Shell myShell;
|
||||
TopTools_DataMapOfShapeListOfShape myMap;
|
||||
|
||||
TopTools_DataMapOfShapeShape myOldNewShapes;
|
||||
BRepTools_ReShape myReshaper;
|
||||
Standard_Boolean myMutableInput;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#include <BRepFill_Generator.lxx>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _BRepFill_Generator_HeaderFile
|
||||
|
Reference in New Issue
Block a user