Open CASCADE Technology 6.6.0
Public Member Functions | Static Public Member Functions
QANewModTopOpe_Glue Class Reference

Perform the gluing topological operation.

#include <QANewModTopOpe_Glue.hxx>

Inheritance diagram for QANewModTopOpe_Glue:
Inheritance graph
[legend]

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.

void Build ()
 Computation; is usefull when Create was called with thePerformNow
being False

const TopTools_ListOfShapeGenerated (const TopoDS_Shape &theS)
 Returns the list of shapes generated from the
shape <theS>.

const TopTools_ListOfShapeModified (const TopoDS_Shape &theS)
 Returns the list of shapes modified from the shape
<theS>.

Standard_Boolean IsDeleted (const TopoDS_Shape &theS)
 Returns True if the shape <theS> existed in one of operands
and is absent in the result.

virtual Standard_Boolean HasGenerated () const
 Returns True if there is at leat one generated shape

virtual Standard_Boolean HasModified () const
 Returns True if there is at leat one modified shape

virtual Standard_Boolean HasDeleted () const
 Returns True if there is at leat one deleted shape

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)

Constructor & Destructor Documentation

QANewModTopOpe_Glue::QANewModTopOpe_Glue ( const TopoDS_Shape theS1,
const TopoDS_Shape theS2,
const Standard_Boolean  theAllowCutting = Standard_False,
const Standard_Boolean  thePerformNow = Standard_True 
)

Member Function Documentation

void QANewModTopOpe_Glue::Build ( ) [virtual]

Reimplemented from BRepAlgoAPI_BooleanOperation.

static Standard_Boolean QANewModTopOpe_Glue::CompareVertices ( const TopoDS_Vertex theV1,
const TopoDS_Vertex theV2,
Standard_Real theDist 
) [static]
const TopTools_ListOfShape& QANewModTopOpe_Glue::Generated ( const TopoDS_Shape theS) [virtual]

Reimplemented from BRepAlgoAPI_BooleanOperation.

virtual Standard_Boolean QANewModTopOpe_Glue::HasDeleted ( ) const [virtual]

Reimplemented from BRepAlgoAPI_BooleanOperation.

virtual Standard_Boolean QANewModTopOpe_Glue::HasGenerated ( ) const [virtual]

Reimplemented from BRepAlgoAPI_BooleanOperation.

virtual Standard_Boolean QANewModTopOpe_Glue::HasModified ( ) const [virtual]

Reimplemented from BRepAlgoAPI_BooleanOperation.

static void QANewModTopOpe_Glue::InsertVertexInEdge ( const TopoDS_Edge theEdge,
const TopoDS_Vertex theVer,
const Standard_Real  thePar,
TopoDS_Edge theNewEdge 
) [static]
Standard_Boolean QANewModTopOpe_Glue::IsDeleted ( const TopoDS_Shape theS) [virtual]

Reimplemented from BRepAlgoAPI_BooleanOperation.

const TopTools_ListOfShape& QANewModTopOpe_Glue::Modified ( const TopoDS_Shape theS) [virtual]

Reimplemented from BRepAlgoAPI_BooleanOperation.

static Standard_Boolean QANewModTopOpe_Glue::ProjPointOnEdge ( const gp_Pnt thePnt,
const TopoDS_Edge theEdge,
Standard_Real thePar,
Standard_Real theDist 
) [static]
static void QANewModTopOpe_Glue::SplitEdgeByVertex ( const TopoDS_Edge theEdge,
const TopoDS_Vertex theVer,
const Standard_Real  thePar,
TopTools_ListOfShape theListE 
) [static]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines