Open CASCADE Technology  7.1.0.beta
Public Member Functions

BRepAlgo_Cut Class Reference

Describes functions for performing a topological cut operation (Boolean subtraction). A Cut object provides the framework for: More...

#include <BRepAlgo_Cut.hxx>

Inheritance diagram for BRepAlgo_Cut:
Inheritance graph
[legend]

Public Member Functions

 BRepAlgo_Cut (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Cuts the shape S2 from the shape S1. More...
 
- Public Member Functions inherited from BRepAlgo_BooleanOperation
virtual ~BRepAlgo_BooleanOperation ()
 
void PerformDS ()
 
void Perform (const TopAbs_State St1, const TopAbs_State St2)
 
Handle< TopOpeBRepBuild_HBuilderBuilder () const
 
const TopoDS_ShapeShape1 () const
 Returns the first shape involved in this Boolean operation. More...
 
const TopoDS_ShapeShape2 () const
 Returns the second shape involved in this Boolean operation. More...
 
virtual const TopTools_ListOfShapeModified (const TopoDS_Shape &S) override
 Returns the list of shapes modified from the shape <S>. More...
 
virtual Standard_Boolean IsDeleted (const TopoDS_Shape &S) override
 Returns true if the shape S has been deleted. More...
 
- Public Member Functions inherited from BRepBuilderAPI_MakeShape
virtual void Build ()
 This is called by Shape(). It does nothing but may be redefined. More...
 
virtual const TopoDS_ShapeShape ()
 Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. More...
 
 operator TopoDS_Shape ()
 
virtual const TopTools_ListOfShapeGenerated (const TopoDS_Shape &S)
 Returns the list of shapes generated from the shape <S>. More...
 
- Public Member Functions inherited from BRepBuilderAPI_Command
virtual ~BRepBuilderAPI_Command ()
 
virtual Standard_Boolean IsDone () const
 
void Check () const
 Raises NotDone if done is false. More...
 

Additional Inherited Members

- Protected Member Functions inherited from BRepAlgo_BooleanOperation
 BRepAlgo_BooleanOperation (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Prepares the operations for S1 and S2. More...
 
void BuilderCanWork (const Standard_Boolean B)
 
Standard_Boolean BuilderCanWork () const
 
virtual void InitParameters ()
 
- Protected Member Functions inherited from BRepBuilderAPI_MakeShape
 BRepBuilderAPI_MakeShape ()
 
- Protected Member Functions inherited from BRepBuilderAPI_Command
 BRepBuilderAPI_Command ()
 Set done to False. More...
 
void Done ()
 Set done to true. More...
 
void NotDone ()
 Set done to false. More...
 
- Protected Attributes inherited from BRepAlgo_BooleanOperation
Handle< TopOpeBRepBuild_HBuildermyHBuilder
 
TopoDS_Shape myS1
 
TopoDS_Shape myS2
 
- Protected Attributes inherited from BRepBuilderAPI_MakeShape
TopoDS_Shape myShape
 
TopTools_ListOfShape myGenerated
 

Detailed Description

Describes functions for performing a topological cut operation (Boolean subtraction). A Cut object provides the framework for:

Constructor & Destructor Documentation

BRepAlgo_Cut::BRepAlgo_Cut ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

Cuts the shape S2 from the shape S1.


The documentation for this class was generated from the following file: