OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBool
BRepAlgo


BRepAlgo_BooleanOperations Class Reference

#include <BRepAlgo_BooleanOperations.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepAlgo_BooleanOperations ()
Standard_EXPORT void Shapes2d (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 S1 est un Shell dont TOUTES les faces ont pour support
la MEME surface. S2 est une Edge INCLUSE dans cette surface
avec pcurve.
cela évite une couteuse opération 3d, par rapport à Shapes.
.
Standard_EXPORT void Shapes (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Defines the arguments.
.
Standard_EXPORT 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.
.
Standard_EXPORT void Define (const TopoDS_Shape &S1, const TopoDS_Shape &S2, Handle(TopOpeBRepDS_HDataStructure)&HDS)
Standard_EXPORT const TopoDS_Shape & Common ()
 returns the common part of the shapes.

Standard_EXPORT const TopoDS_Shape & Fus ()
 returns the fuse part of the shapes.

Standard_EXPORT const TopoDS_Shape & Cut ()
 returns the cut part of the shapes.

Standard_EXPORT const TopoDS_Shape & Section ()
 returns the intersection of the shapes.

Standard_EXPORT const TopoDS_Shape & Shape ()
 returns the result of the boolean operation.

Standard_EXPORT const TopoDS_Shape & ShapeFrom (const TopoDS_Shape &S)
 Returns the shape(s) resulting of the boolean operation
issued from the shape <s>.
.
Standard_EXPORT const TopTools_ListOfShape & Modified (const TopoDS_Shape &S)
 Returns the list of the descendant shapes of the shape <s>.
.
Standard_EXPORT Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns the fact that the shape <s> has been deleted or not
by the boolean operation.
.
Standard_EXPORT const Handle_TopOpeBRepDS_HDataStructure & DataStructure () const
Standard_EXPORT Handle_TopOpeBRepDS_HDataStructure & ChangeDataStructure ()
Standard_EXPORT const Handle_TopOpeBRepBuild_HBuilder & Builder () const
Standard_EXPORT Handle_TopOpeBRepBuild_HBuilder & ChangeBuilder ()
Standard_EXPORT BRepAlgo_DSAccessDataStructureAccess ()
 returns the member myDSA. It is useful to then access
the method GetSectionEdgeSet (wich is a member of DSAccess)


Private Member Functions

Standard_EXPORT void Perform ()
 Performs the global boolean operation.
.
Standard_EXPORT void Perform (const TopAbs_State State1, const TopAbs_State State2)
 Performs the global boolean operation and build the
result in regards of the given states.
.

Private Attributes

BRepAlgo_DSAccess myDSA
TopoDS_Shape myS1
TopoDS_Shape myS2
TopoDS_Shape myShape
TopTools_MapOfShape myMapShape
TopoDS_Shape myResult
Standard_Integer myApproxNbPntMax
Standard_Real myApproxTol3D
Standard_Real myApproxTol2D
Standard_Boolean myApproxRelativeTol


Constructor & Destructor Documentation

Standard_EXPORT BRepAlgo_BooleanOperations::BRepAlgo_BooleanOperations  ) 
 


Member Function Documentation

Standard_EXPORT const Handle_TopOpeBRepBuild_HBuilder& BRepAlgo_BooleanOperations::Builder  )  const
 

Standard_EXPORT Handle_TopOpeBRepBuild_HBuilder& BRepAlgo_BooleanOperations::ChangeBuilder  ) 
 

Standard_EXPORT Handle_TopOpeBRepDS_HDataStructure& BRepAlgo_BooleanOperations::ChangeDataStructure  ) 
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_BooleanOperations::Common  ) 
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_BooleanOperations::Cut  ) 
 

Standard_EXPORT const Handle_TopOpeBRepDS_HDataStructure& BRepAlgo_BooleanOperations::DataStructure  )  const
 

Standard_EXPORT BRepAlgo_DSAccess& BRepAlgo_BooleanOperations::DataStructureAccess  ) 
 

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

Standard_EXPORT const TopoDS_Shape& BRepAlgo_BooleanOperations::Fus  ) 
 

Standard_EXPORT Standard_Boolean BRepAlgo_BooleanOperations::IsDeleted const TopoDS_Shape &  S  ) 
 

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

void BRepAlgo_BooleanOperations::operator delete void *  anAddress  )  [inline]
 

void* BRepAlgo_BooleanOperations::operator new size_t  size  )  [inline]
 

void* BRepAlgo_BooleanOperations::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT void BRepAlgo_BooleanOperations::Perform const TopAbs_State  State1,
const TopAbs_State  State2
[private]
 

Standard_EXPORT void BRepAlgo_BooleanOperations::Perform  )  [private]
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_BooleanOperations::Section  ) 
 

Standard_EXPORT void BRepAlgo_BooleanOperations::SetApproxParameters const Standard_Integer  NbPntMax,
const Standard_Real  Tol3D,
const Standard_Real  Tol2D,
const Standard_Boolean  RelativeTol
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_BooleanOperations::Shape  ) 
 

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

Standard_EXPORT void BRepAlgo_BooleanOperations::Shapes const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
 

Standard_EXPORT void BRepAlgo_BooleanOperations::Shapes2d const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
 


Field Documentation

Standard_Integer BRepAlgo_BooleanOperations::myApproxNbPntMax [private]
 

Standard_Boolean BRepAlgo_BooleanOperations::myApproxRelativeTol [private]
 

Standard_Real BRepAlgo_BooleanOperations::myApproxTol2D [private]
 

Standard_Real BRepAlgo_BooleanOperations::myApproxTol3D [private]
 

BRepAlgo_DSAccess BRepAlgo_BooleanOperations::myDSA [private]
 

TopTools_MapOfShape BRepAlgo_BooleanOperations::myMapShape [private]
 

TopoDS_Shape BRepAlgo_BooleanOperations::myResult [private]
 

TopoDS_Shape BRepAlgo_BooleanOperations::myS1 [private]
 

TopoDS_Shape BRepAlgo_BooleanOperations::myS2 [private]
 

TopoDS_Shape BRepAlgo_BooleanOperations::myShape [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:40:49 2008 for OpenCASCADE by  doxygen 1.4.1