|
Open CASCADE Technology
6.7.1
|
Perform the gluing topological operation.
More...
#include <QANewModTopOpe_Glue.hxx>

Public Member Functions | |
| QANewModTopOpe_Glue (const TopoDS_Shape &theS1, const TopoDS_Shape &theS2, const Standard_Boolean theAllowCutting=Standard_False, const Standard_Boolean thePerformNow=Standard_True) | |
| Defines 2 operands. If one of operands is Solid and another is Shell and Shell goes inside Solid, the <allowCutting> determines what to do: if True, Shell is cut by Solid during the operation; if False, Null shape is returned, IsDone() returns False. If <thePerformNow> is False then does not compute immediately. More... | |
| void | Build () |
| Computation; is usefull when Create was called with thePerformNow being False More... | |
| const TopTools_ListOfShape & | Generated (const TopoDS_Shape &theS) |
| Returns the list of shapes generated from the shape <theS>. More... | |
| const TopTools_ListOfShape & | Modified (const TopoDS_Shape &theS) |
| Returns the list of shapes modified from the shape <theS>. More... | |
| Standard_Boolean | IsDeleted (const TopoDS_Shape &theS) |
| Returns True if the shape <theS> existed in one of operands and is absent in the result. More... | |
| virtual Standard_Boolean | HasGenerated () const |
| Returns True if there is at leat one generated shape More... | |
| virtual Standard_Boolean | HasModified () const |
| Returns True if there is at leat one modified shape More... | |
| virtual Standard_Boolean | HasDeleted () const |
| Returns True if there is at leat one deleted shape More... | |
Public Member Functions inherited from BRepAlgoAPI_BooleanOperation | |
| void | SetOperation (const BOPAlgo_Operation anOp) |
Sets the type of Boolean operation to perform <br>
It can be BOPAlgo_SECTION <br>
BOPAlgo_COMMON <br>
BOPAlgo_FUSE <br>
BOPAlgo_CUT <br>
BOPAlgo_CUT21 <br>
| |
| const TopoDS_Shape & | Shape1 () const |
| Returns the first shape involved in this Boolean operation. More... | |
| const TopoDS_Shape & | Shape2 () const |
| Returns the second shape involved in this Boolean operation. More... | |
| BOPAlgo_Operation | Operation () const |
| Returns the type of Boolean Operation that has been performed. More... | |
| Standard_Boolean | FuseEdges () const |
| Returns the flag of edge refining More... | |
| void | RefineEdges () |
| Fuse C1 edges More... | |
| Standard_Boolean | BuilderCanWork () const |
| Standard_Integer | ErrorStatus () const |
Returns the error status of operation. <br> 0 - Ok More... | |
| void | Destroy () |
| virtual | ~BRepAlgoAPI_BooleanOperation () |
| const TopTools_ListOfShape & | SectionEdges () |
Returns a list of section edges. <br> The edges represent the result of intersection between arguments of | |
Public Member Functions inherited from BRepBuilderAPI_MakeShape | |
| virtual void | Delete () |
| virtual | ~BRepBuilderAPI_MakeShape () |
| const TopoDS_Shape & | Shape () const |
Returns a shape built by the shape construction algorithm. <br> Raises exception StdFail_NotDone if the shape was not built. | |
| operator TopoDS_Shape () const | |
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... | |
Static Public Member Functions | |
| static Standard_Boolean | ProjPointOnEdge (const gp_Pnt &thePnt, const TopoDS_Edge &theEdge, Standard_Real &thePar, Standard_Real &theDist) |
| static void | InsertVertexInEdge (const TopoDS_Edge &theEdge, const TopoDS_Vertex &theVer, const Standard_Real thePar, TopoDS_Edge &theNewEdge) |
| static void | SplitEdgeByVertex (const TopoDS_Edge &theEdge, const TopoDS_Vertex &theVer, const Standard_Real thePar, TopTools_ListOfShape &theListE) |
| static Standard_Boolean | CompareVertices (const TopoDS_Vertex &theV1, const TopoDS_Vertex &theV2, Standard_Real &theDist) |
Perform the gluing topological operation.
| QANewModTopOpe_Glue::QANewModTopOpe_Glue | ( | const TopoDS_Shape & | theS1, |
| const TopoDS_Shape & | theS2, | ||
| const Standard_Boolean | theAllowCutting = Standard_False, |
||
| const Standard_Boolean | thePerformNow = Standard_True |
||
| ) |
Defines 2 operands.
If one of operands is Solid and another is Shell and Shell
goes inside Solid, the <allowCutting> determines what to do:
if True, Shell is cut by Solid during the operation;
if False, Null shape is returned, IsDone() returns False.
If <thePerformNow> is False then does not compute immediately.
|
virtual |
Computation; is usefull when Create was called with thePerformNow
being False
Reimplemented from BRepAlgoAPI_BooleanOperation.
|
static |
|
virtual |
Returns the list of shapes generated from the
shape <theS>.
Reimplemented from BRepAlgoAPI_BooleanOperation.
|
virtual |
Returns True if there is at leat one deleted shape
Reimplemented from BRepAlgoAPI_BooleanOperation.
|
virtual |
Returns True if there is at leat one generated shape
Reimplemented from BRepAlgoAPI_BooleanOperation.
|
virtual |
Returns True if there is at leat one modified shape
Reimplemented from BRepAlgoAPI_BooleanOperation.
|
static |
|
virtual |
Returns True if the shape <theS> existed in one of operands
and is absent in the result.
Reimplemented from BRepAlgoAPI_BooleanOperation.
|
virtual |
Returns the list of shapes modified from the shape
<theS>.
Reimplemented from BRepAlgoAPI_BooleanOperation.
|
static |
|
static |
1.8.5