#include <LocOpe_Builder.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | LocOpe_Builder () |
Empty constructor. . | |
Standard_EXPORT | LocOpe_Builder (const TopoDS_Shape &S) |
Creates a builder for local operations on <s>. . | |
Standard_EXPORT | LocOpe_Builder (const TopoDS_Shape &S, const TopoDS_Shape &Tool) |
Creates a builder for local operations between <s> and <tool>. . | |
Standard_EXPORT void | Init (const TopoDS_Shape &S) |
Initializes a builder for local operations on <s>. . | |
Standard_EXPORT void | Init (const TopoDS_Shape &S, const TopoDS_Shape &Tool) |
Initializes a builder for local operations between <s> and <tool>. . | |
Standard_EXPORT void | Perform (const TopoDS_Shape &Tool, const TopTools_ListOfShape &L, const Standard_Boolean Fuse) |
Performs the local operation on the formerly given shape. <l> defines a set of faces of the shape. The whole tool is used. The list may not be empty. The boolean <fuse> gives the type of operation. If set to Standard_True, the operation is a fusion. If set to Standard_False, the operation is a cutting one. The Perform process stops just before constructing any result in order to authorize the selection of parts of the tool. After a call to Perform, it is possible to call BuilPartsOfTool, then RemovePart/ActivatePart to select valid parts, and it is necessary to call PerformResult to get any result. . | |
Standard_EXPORT void | Perform (const TopTools_ListOfShape &LShape, const TopTools_ListOfShape <ool, const Standard_Boolean Fuse) |
Performs the local operation on the formerly given shape and tool. <lshape> defines a set of faces of the shape. <ltool> defines a set of faces of the tool. The boolean <fuse> gives the type of operation. If set to Standard_True, the operation is a fusion. If set to Standard_False, the operation is a cutting one. If <lshape> (resp. <ltool>) is empty, the whole shape (resp. tool) is used. The Perform process stops just before constructing any result in order to authorize the selection of parts of the tool. After a call to Perform, it is possible to call BuilPartsOfTool, then RemovePart/ActivatePart to select valid parts, and it is necessary to call PerformResult to get any result. . | |
Standard_EXPORT void | BuildPartsOfTool () |
Builds every valid parts of the tool. . | |
Standard_EXPORT const TopTools_ListOfShape & | PartsOfTool () const |
Returns the list of the parts of tool. Each of this part is a TopoDS_Shell. . | |
Standard_EXPORT void | RemovePart (const TopoDS_Shape &S) |
Removes <s> from the list of valid parts of tool. . | |
Standard_EXPORT void | ActivatePart (const TopoDS_Shape &S) |
Removes <s> from the list of invalid parts of tool. By default, all parts of tool are valid for the local operation. . | |
Standard_EXPORT void | PerformResult () |
Invalidates the given parts of tools if any, and performs the result of the local operation. . | |
Standard_Boolean | IsDone () const |
Returns Standard_True if the operation has been successfuly done. . | |
Standard_Boolean | IsInvDone () const |
Returns Standard_True if the Invalidate Parts operation has been successfuly done. . | |
const TopoDS_Shape & | ResultingShape () const |
Returns the result of the operation. . | |
const TopoDS_Shape & | OriginalShape () const |
Returns the shape on which the operation is defined. . | |
const TopoDS_Shape & | Tool () const |
Returns the "tool" used to perform the local operation. . | |
const Handle_BOP_HistoryCollector & | History () const |
Standard_EXPORT void | InvalidateParts () |
Standard_EXPORT const TopTools_ListOfShape & | Edges () const |
Standard_EXPORT const TopTools_ListOfShape & | TgtEdges () const |
Private Attributes | |
Standard_Boolean | myDone |
TopoDS_Shape | myShape |
TopoDS_Shape | myTool |
TopoDS_Shape | myResult |
TopTools_ListOfShape | myParts |
TopTools_ListOfShape | myRemoved |
Standard_Boolean | myPdone |
Standard_Boolean | myPerfdone |
Standard_Boolean | myInvDone |
Standard_Boolean | myFuse |
TopTools_ListOfShape | myEdges |
TopTools_ListOfShape | myTgtEdges |
BRepAlgo_TopOpe | myAlgo |
TopTools_MapOfShape | myShapeMap |
TopTools_MapOfShape | myToolMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|