The class Cut provides Boolean cut operation between arguments and tools (Boolean Subtraction).  
 More...
|  | 
|  | BRepAlgoAPI_Cut () | 
|  | Empty constructor. 
 | 
|  | 
| virtual | ~BRepAlgoAPI_Cut () | 
|  | 
|  | BRepAlgoAPI_Cut (const BOPAlgo_PaveFiller &PF) | 
|  | Empty constructor <PF> - PaveFiller object that is carried out. 
 | 
|  | 
|  | BRepAlgoAPI_Cut (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Message_ProgressRange &theRange=Message_ProgressRange()) | 
|  | Constructor with two shapes <S1> -argument <S2> -tool <anOperation> - the type of the operation Obsolete. 
 | 
|  | 
|  | BRepAlgoAPI_Cut (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const BOPAlgo_PaveFiller &aDSF, const Standard_Boolean bFWD=Standard_True, const Message_ProgressRange &theRange=Message_ProgressRange()) | 
|  | Constructor with two shapes <S1> -argument <S2> -tool <anOperation> - the type of the operation <PF> - PaveFiller object that is carried out Obsolete. 
 | 
|  | 
| const TopoDS_Shape & | Shape1 () const | 
|  | Returns the second argument involved in this Boolean operation. Obsolete. 
 | 
|  | 
| const TopoDS_Shape & | Shape2 () const | 
|  | Returns the second argument involved in this Boolean operation. Obsolete. 
 | 
|  | 
| void | SetTools (const TopTools_ListOfShape &theLS) | 
|  | Sets the Tool arguments. 
 | 
|  | 
| const TopTools_ListOfShape & | Tools () const | 
|  | Returns the Tools arguments. 
 | 
|  | 
| void | SetOperation (const BOPAlgo_Operation theBOP) | 
|  | Returns the type of Boolean Operation. 
 | 
|  | 
| BOPAlgo_Operation | Operation () const | 
|  | Returns the type of Boolean Operation. 
 | 
|  | 
| virtual void | Build (const Message_ProgressRange &theRange=Message_ProgressRange()) override | 
|  | This is called by Shape(). It does nothing but may be redefined. 
 | 
|  | 
|  | BRepAlgoAPI_BooleanOperation () | 
|  | Constructor with precomputed intersections of arguments. 
 | 
|  | 
|  | BRepAlgoAPI_BooleanOperation (const BOPAlgo_PaveFiller &thePF) | 
|  | Constructor with precomputed intersections of arguments. 
 | 
|  | 
|  | BRepAlgoAPI_BuilderAlgo () | 
|  | Constructor with prepared Filler object. 
 | 
|  | 
| virtual | ~BRepAlgoAPI_BuilderAlgo () | 
|  | Constructor with prepared Filler object. 
 | 
|  | 
|  | BRepAlgoAPI_BuilderAlgo (const BOPAlgo_PaveFiller &thePF) | 
|  | Constructor with prepared Filler object. 
 | 
|  | 
| void | SetArguments (const TopTools_ListOfShape &theLS) | 
|  | Gets the arguments. 
 | 
|  | 
| const TopTools_ListOfShape & | Arguments () const | 
|  | Gets the arguments. 
 | 
|  | 
| void | SetNonDestructive (const Standard_Boolean theFlag) | 
|  | Returns the flag that defines the mode of treatment. In non-destructive mode the argument shapes are not modified. Instead a copy of a sub-shape is created in the result if it is needed to be updated. 
 | 
|  | 
| Standard_Boolean | NonDestructive () const | 
|  | Returns the flag that defines the mode of treatment. In non-destructive mode the argument shapes are not modified. Instead a copy of a sub-shape is created in the result if it is needed to be updated. 
 | 
|  | 
| void | SetGlue (const BOPAlgo_GlueEnum theGlue) | 
|  | Sets the glue option for the algorithm, which allows increasing performance of the intersection of the input shapes. 
 | 
|  | 
| BOPAlgo_GlueEnum | Glue () const | 
|  | Returns the glue option of the algorithm. 
 | 
|  | 
| void | SetCheckInverted (const Standard_Boolean theCheck) | 
|  | Enables/Disables the check of the input solids for inverted status. 
 | 
|  | 
| Standard_Boolean | CheckInverted () const | 
|  | Returns the flag defining whether the check for input solids on inverted status should be performed or not. 
 | 
|  | 
| void | SimplifyResult (const Standard_Boolean theUnifyEdges=Standard_True, const Standard_Boolean theUnifyFaces=Standard_True, const Standard_Real theAngularTol=Precision::Angular()) | 
|  | 
| virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &theS) override | 
|  | Returns the list of shapes generated from the shape <theS>. In frames of Boolean Operations algorithms only Edges and Faces could have Generated elements, as only they produce new elements during intersection: 
 | 
|  | 
| virtual const TopTools_ListOfShape & | Generated (const TopoDS_Shape &theS) override | 
|  | Returns the list of shapes generated from the shape <theS>. In frames of Boolean Operations algorithms only Edges and Faces could have Generated elements, as only they produce new elements during intersection: 
 | 
|  | 
| virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &aS) override | 
|  | Checks if the shape <theS> has been completely removed from the result, i.e. the result does not contain the shape itself and any of its splits. Returns TRUE if the shape has been deleted. 
 | 
|  | 
| virtual Standard_Boolean | HasModified () const | 
|  | Returns true if any of the input shapes has been modified during operation. 
 | 
|  | 
| virtual Standard_Boolean | HasGenerated () const | 
|  | Returns true if any of the input shapes has generated shapes during operation. 
 | 
|  | 
| virtual Standard_Boolean | HasDeleted () const | 
|  | Returns true if any of the input shapes has been deleted during operation. Normally, General Fuse operation should not have Deleted elements, but all derived operation can have. 
 | 
|  | 
| void | SetToFillHistory (const Standard_Boolean theHistFlag) | 
|  | Returns flag of history availability. 
 | 
|  | 
| Standard_Boolean | HasHistory () const | 
|  | Returns flag of history availability. 
 | 
|  | 
| const TopTools_ListOfShape & | SectionEdges () | 
|  | 
| const BOPAlgo_PPaveFiller & | DSFiller () const | 
|  | Returns the Building tool. 
 | 
|  | 
| const BOPAlgo_PBuilder & | Builder () const | 
|  | Returns the Building tool. 
 | 
|  | 
| Handle< BRepTools_History > | History () const | 
|  | History tool. 
 | 
|  | 
| virtual const TopoDS_Shape & | Shape () override | 
|  | Returns a shape built by the shape construction algorithm. Does not check if the shape is built. 
 | 
|  | 
| void | ClearWarnings () | 
|  | Clears the warnings of the algorithm. 
 | 
|  | 
| void | DumpErrors (Standard_OStream &theOS) const | 
|  | Dumps the error status into the given stream. 
 | 
|  | 
| void | DumpWarnings (Standard_OStream &theOS) const | 
|  | Dumps the warning statuses into the given stream. 
 | 
|  | 
| Standard_Real | FuzzyValue () const | 
|  | Returns the additional tolerance. 
 | 
|  | 
| const Handle< Message_Report > & | GetReport () const | 
|  | Returns report collecting all errors and warnings. 
 | 
|  | 
| Standard_Boolean | HasError (const Handle< Standard_Type > &theType) const | 
|  | Returns true if algorithm has generated error of specified type. 
 | 
|  | 
| Standard_Boolean | HasErrors () const | 
|  | Returns true if algorithm has failed. 
 | 
|  | 
| Standard_Boolean | HasWarning (const Handle< Standard_Type > &theType) const | 
|  | Returns true if algorithm has generated warning of specified type. 
 | 
|  | 
| Standard_Boolean | HasWarnings () const | 
|  | Returns true if algorithm has generated some warning alerts. 
 | 
|  | 
| Standard_Boolean | RunParallel () const | 
|  | Returns the flag of parallel processing. 
 | 
|  | 
| void | SetFuzzyValue (const Standard_Real theFuzz) | 
|  | Sets the additional tolerance. 
 | 
|  | 
| void | SetRunParallel (const Standard_Boolean theFlag) | 
|  | Set the flag of parallel processing if <theFlag> is true the parallel processing is switched on if <theFlag> is false the parallel processing is switched off. 
 | 
|  | 
| void | SetUseOBB (const Standard_Boolean theUseOBB) | 
|  | Enables/Disables the usage of OBB. 
 | 
|  | 
|  | operator TopoDS_Shape () | 
|  | 
|  Public Member Functions inherited from BRepBuilderAPI_Command | 
| virtual | ~BRepBuilderAPI_Command () | 
|  | 
| virtual Standard_Boolean | IsDone () const | 
|  | 
| void | Check () const | 
|  | Raises NotDone if done is false. 
 | 
|  | 
The class Cut provides Boolean cut operation between arguments and tools (Boolean Subtraction).