Open CASCADE Technology 6.6.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.

void Shapes (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Defines the arguments.

void SetApproxParameters (const Standard_Integer NbPntMax, const Standard_Real Tol3D, const Standard_Real Tol2D, const Standard_Boolean RelativeTol)
 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.

void Define (const TopoDS_Shape &S1, const TopoDS_Shape &S2, Handle< TopOpeBRepDS_HDataStructure > &HDS)
const TopoDS_ShapeCommon ()
 returns the common part of the shapes.

const TopoDS_ShapeFus ()
 returns the fuse part of the shapes.

const TopoDS_ShapeCut ()
 returns the cut part of the shapes.

const TopoDS_ShapeSection ()
 returns the intersection of the shapes.

const TopoDS_ShapeShape ()
 returns the result of the boolean operation.

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

const TopTools_ListOfShapeModified (const TopoDS_Shape &S)
 Returns the list of the descendant shapes of the shape <S>.

Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns the fact that the shape <S> has been deleted or not
by the boolean operation.

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)


Constructor & Destructor Documentation

BRepAlgo_BooleanOperations::BRepAlgo_BooleanOperations ( )

Member Function Documentation

const Handle_TopOpeBRepBuild_HBuilder& BRepAlgo_BooleanOperations::Builder ( ) const
Handle_TopOpeBRepBuild_HBuilder& BRepAlgo_BooleanOperations::ChangeBuilder ( )
Handle_TopOpeBRepDS_HDataStructure& BRepAlgo_BooleanOperations::ChangeDataStructure ( )
const TopoDS_Shape& BRepAlgo_BooleanOperations::Common ( )
const TopoDS_Shape& BRepAlgo_BooleanOperations::Cut ( )
const Handle_TopOpeBRepDS_HDataStructure& BRepAlgo_BooleanOperations::DataStructure ( ) const
BRepAlgo_DSAccess& BRepAlgo_BooleanOperations::DataStructureAccess ( )
void BRepAlgo_BooleanOperations::Define ( const TopoDS_Shape S1,
const TopoDS_Shape S2,
Handle< TopOpeBRepDS_HDataStructure > &  HDS 
)
const TopoDS_Shape& BRepAlgo_BooleanOperations::Fus ( )
Standard_Boolean BRepAlgo_BooleanOperations::IsDeleted ( const TopoDS_Shape S)
const TopTools_ListOfShape& BRepAlgo_BooleanOperations::Modified ( const TopoDS_Shape S)
const TopoDS_Shape& BRepAlgo_BooleanOperations::Section ( )
void BRepAlgo_BooleanOperations::SetApproxParameters ( const Standard_Integer  NbPntMax,
const Standard_Real  Tol3D,
const Standard_Real  Tol2D,
const Standard_Boolean  RelativeTol 
)
const TopoDS_Shape& BRepAlgo_BooleanOperations::Shape ( )
const TopoDS_Shape& BRepAlgo_BooleanOperations::ShapeFrom ( const TopoDS_Shape S)
void BRepAlgo_BooleanOperations::Shapes ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)
void BRepAlgo_BooleanOperations::Shapes2d ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

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