Open CASCADE Technology  7.3.0
Public Member Functions

BRepAlgo_BooleanOperations Class Reference

#include <BRepAlgo_BooleanOperations.hxx>

Public Member Functions

 BRepAlgo_BooleanOperations ()
 
void Shapes2d (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 S1 is a Shell with ALL faces supported by the SAME S2 is an Edge INCLUDED in that surface with pcurve. this avoids a time-consuming 3D operation, compared to Shapes. More...
 
void Shapes (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Defines the arguments. More...
 
void SetApproxParameters (const Standard_Integer NbPntMax, const Standard_Real Tol3D, const Standard_Real Tol2D)
 Sets different parameters for the curve approximations : NbPntMax : Maximum number of points to be approximated at the same time in one curve. Tol3D, Tol2D : Tolerances to be reached by the approximation. RelativeTol : The given tolerances are relative. More...
 
void Define (const TopoDS_Shape &S1, const TopoDS_Shape &S2, Handle< TopOpeBRepDS_HDataStructure > &HDS)
 
const TopoDS_ShapeCommon ()
 returns the common part of the shapes. More...
 
const TopoDS_ShapeFus ()
 returns the fuse part of the shapes. More...
 
const TopoDS_ShapeCut ()
 returns the cut part of the shapes. More...
 
const TopoDS_ShapeSection ()
 returns the intersection of the shapes. More...
 
const TopoDS_ShapeShape ()
 returns the result of the boolean operation. More...
 
const TopoDS_ShapeShapeFrom (const TopoDS_Shape &S)
 Returns the shape(s) resulting of the boolean operation issued from the shape <S>. More...
 
const TopTools_ListOfShapeModified (const TopoDS_Shape &S)
 Returns the list of the descendant shapes of the shape <S>. More...
 
Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns the fact that the shape <S> has been deleted or not by the boolean operation. More...
 
const Handle< TopOpeBRepDS_HDataStructure > & DataStructure () const
 
Handle< TopOpeBRepDS_HDataStructure > & ChangeDataStructure ()
 
const Handle< TopOpeBRepBuild_HBuilder > & Builder () const
 
Handle< TopOpeBRepBuild_HBuilder > & ChangeBuilder ()
 
BRepAlgo_DSAccessDataStructureAccess ()
 returns the member myDSA. It is useful to then access the method GetSectionEdgeSet (wich is a member of DSAccess) More...
 

Constructor & Destructor Documentation

◆ BRepAlgo_BooleanOperations()

BRepAlgo_BooleanOperations::BRepAlgo_BooleanOperations ( )

Member Function Documentation

◆ Builder()

const Handle< TopOpeBRepBuild_HBuilder >& BRepAlgo_BooleanOperations::Builder ( ) const

◆ ChangeBuilder()

Handle< TopOpeBRepBuild_HBuilder >& BRepAlgo_BooleanOperations::ChangeBuilder ( )

◆ ChangeDataStructure()

Handle< TopOpeBRepDS_HDataStructure >& BRepAlgo_BooleanOperations::ChangeDataStructure ( )

◆ Common()

const TopoDS_Shape& BRepAlgo_BooleanOperations::Common ( )

returns the common part of the shapes.

◆ Cut()

const TopoDS_Shape& BRepAlgo_BooleanOperations::Cut ( )

returns the cut part of the shapes.

◆ DataStructure()

const Handle< TopOpeBRepDS_HDataStructure >& BRepAlgo_BooleanOperations::DataStructure ( ) const

◆ DataStructureAccess()

BRepAlgo_DSAccess& BRepAlgo_BooleanOperations::DataStructureAccess ( )

returns the member myDSA. It is useful to then access the method GetSectionEdgeSet (wich is a member of DSAccess)

◆ Define()

void BRepAlgo_BooleanOperations::Define ( const TopoDS_Shape S1,
const TopoDS_Shape S2,
Handle< TopOpeBRepDS_HDataStructure > &  HDS 
)

◆ Fus()

const TopoDS_Shape& BRepAlgo_BooleanOperations::Fus ( )

returns the fuse part of the shapes.

◆ IsDeleted()

Standard_Boolean BRepAlgo_BooleanOperations::IsDeleted ( const TopoDS_Shape S)

Returns the fact that the shape <S> has been deleted or not by the boolean operation.

◆ Modified()

const TopTools_ListOfShape& BRepAlgo_BooleanOperations::Modified ( const TopoDS_Shape S)

Returns the list of the descendant shapes of the shape <S>.

◆ Section()

const TopoDS_Shape& BRepAlgo_BooleanOperations::Section ( )

returns the intersection of the shapes.

◆ SetApproxParameters()

void BRepAlgo_BooleanOperations::SetApproxParameters ( const Standard_Integer  NbPntMax,
const Standard_Real  Tol3D,
const Standard_Real  Tol2D 
)

Sets different parameters for the curve approximations : NbPntMax : Maximum number of points to be approximated at the same time in one curve. Tol3D, Tol2D : Tolerances to be reached by the approximation. RelativeTol : The given tolerances are relative.

◆ Shape()

const TopoDS_Shape& BRepAlgo_BooleanOperations::Shape ( )

returns the result of the boolean operation.

◆ ShapeFrom()

const TopoDS_Shape& BRepAlgo_BooleanOperations::ShapeFrom ( const TopoDS_Shape S)

Returns the shape(s) resulting of the boolean operation issued from the shape <S>.

◆ Shapes()

void BRepAlgo_BooleanOperations::Shapes ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

Defines the arguments.

◆ Shapes2d()

void BRepAlgo_BooleanOperations::Shapes2d ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

S1 is a Shell with ALL faces supported by the SAME S2 is an Edge INCLUDED in that surface with pcurve. this avoids a time-consuming 3D operation, compared to Shapes.


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