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

ModelingAlgorithms
TKBO
BOP


BOP_ArgumentAnalyzer Class Reference

check the validity of argument(s) for Boolean Operations

#include <BOP_ArgumentAnalyzer.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BOP_ArgumentAnalyzer ()
 empty constructor

Standard_EXPORT void SetShape1 (const TopoDS_Shape &TheShape)
 sets object shape

Standard_EXPORT void SetShape2 (const TopoDS_Shape &TheShape)
 sets tool shape

Standard_EXPORT const TopoDS_Shape & GetShape1 () const
 returns object shape;

Standard_EXPORT const TopoDS_Shape & GetShape2 () const
 returns tool shape

Standard_EXPORT BOP_Operation & OperationType ()
 returns ref

Standard_EXPORT Standard_Boolean & StopOnFirstFaulty ()
 returns ref

Standard_Boolean & ArgumentTypeMode ()
 Returns (modifiable) mode
that means checking types of shapes.
.
Standard_Boolean & SelfInterMode ()
 Returns (modifiable) mode that means
checking of self-intersection of shapes.
.
Standard_Boolean & SmallEdgeMode ()
 Returns (modifiable) mode that means
checking of small edges.
.
Standard_Boolean & RebuildFaceMode ()
 Returns (modifiable) mode that means
checking of possibility to split or rebuild faces.
.
Standard_Boolean & TangentMode ()
 Returns (modifiable) mode that means
checking of tangency between subshapes.
.
Standard_Boolean & MergeVertexMode ()
 Returns (modifiable) mode that means
checking of problem of merging vertices.
.
Standard_Boolean & MergeEdgeMode ()
 Returns (modifiable) mode that means
checking of problem of merging edges.
.
Standard_EXPORT void Perform ()
 performs analysis

Standard_EXPORT Standard_Boolean HasFaulty () const
 result of test

Standard_EXPORT const BOP_ListOfCheckResult & GetCheckResult () const
 returns a result of test


Protected Member Functions

Standard_EXPORT void TestTypes ()
Standard_EXPORT void TestSelfInterferences ()
Standard_EXPORT void TestSmallEdge ()
Standard_EXPORT void TestRebuildFace ()
Standard_EXPORT void TestTangent ()
Standard_EXPORT void TestMergeSubShapes (const TopAbs_ShapeEnum theType)
Standard_EXPORT void TestMergeVertex ()
Standard_EXPORT void TestMergeEdge ()

Private Attributes

TopoDS_Shape myShape1
TopoDS_Shape myShape2
Standard_Boolean myStopOnFirst
BOP_Operation myOperation
Standard_Boolean myArgumentTypeMode
Standard_Boolean mySelfInterMode
Standard_Boolean mySmallEdgeMode
Standard_Boolean myRebuildFaceMode
Standard_Boolean myTangentMode
Standard_Boolean myMergeVertexMode
Standard_Boolean myMergeEdgeMode
BOP_ListOfCheckResult myResult


Constructor & Destructor Documentation

Standard_EXPORT BOP_ArgumentAnalyzer::BOP_ArgumentAnalyzer (   ) 
 


Member Function Documentation

Standard_Boolean & BOP_ArgumentAnalyzer::ArgumentTypeMode (   )  [inline]
 

Standard_EXPORT const BOP_ListOfCheckResult& BOP_ArgumentAnalyzer::GetCheckResult (   )  const
 

Standard_EXPORT const TopoDS_Shape& BOP_ArgumentAnalyzer::GetShape1 (   )  const
 

Standard_EXPORT const TopoDS_Shape& BOP_ArgumentAnalyzer::GetShape2 (   )  const
 

Standard_EXPORT Standard_Boolean BOP_ArgumentAnalyzer::HasFaulty (   )  const
 

Standard_Boolean & BOP_ArgumentAnalyzer::MergeEdgeMode (   )  [inline]
 

Standard_Boolean & BOP_ArgumentAnalyzer::MergeVertexMode (   )  [inline]
 

Standard_EXPORT BOP_Operation& BOP_ArgumentAnalyzer::OperationType (   ) 
 

void BOP_ArgumentAnalyzer::operator delete (  void *  anAddress  )  [inline]
 

void* BOP_ArgumentAnalyzer::operator new (  size_t  size  )  [inline]
 

void* BOP_ArgumentAnalyzer::operator new (  size_t  ,
void *  anAddress
)  [inline]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::Perform (   ) 
 

Standard_Boolean & BOP_ArgumentAnalyzer::RebuildFaceMode (   )  [inline]
 

Standard_Boolean & BOP_ArgumentAnalyzer::SelfInterMode (   )  [inline]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::SetShape1 (  const TopoDS_Shape &  TheShape  ) 
 

Standard_EXPORT void BOP_ArgumentAnalyzer::SetShape2 (  const TopoDS_Shape &  TheShape  ) 
 

Standard_Boolean & BOP_ArgumentAnalyzer::SmallEdgeMode (   )  [inline]
 

Standard_EXPORT Standard_Boolean& BOP_ArgumentAnalyzer::StopOnFirstFaulty (   ) 
 

Standard_Boolean & BOP_ArgumentAnalyzer::TangentMode (   )  [inline]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::TestMergeEdge (   )  [protected]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::TestMergeSubShapes (  const TopAbs_ShapeEnum  theType  )  [protected]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::TestMergeVertex (   )  [protected]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::TestRebuildFace (   )  [protected]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::TestSelfInterferences (   )  [protected]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::TestSmallEdge (   )  [protected]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::TestTangent (   )  [protected]
 

Standard_EXPORT void BOP_ArgumentAnalyzer::TestTypes (   )  [protected]
 


Field Documentation

Standard_Boolean BOP_ArgumentAnalyzer::myArgumentTypeMode [private]
 

Standard_Boolean BOP_ArgumentAnalyzer::myMergeEdgeMode [private]
 

Standard_Boolean BOP_ArgumentAnalyzer::myMergeVertexMode [private]
 

BOP_Operation BOP_ArgumentAnalyzer::myOperation [private]
 

Standard_Boolean BOP_ArgumentAnalyzer::myRebuildFaceMode [private]
 

BOP_ListOfCheckResult BOP_ArgumentAnalyzer::myResult [private]
 

Standard_Boolean BOP_ArgumentAnalyzer::mySelfInterMode [private]
 

TopoDS_Shape BOP_ArgumentAnalyzer::myShape1 [private]
 

TopoDS_Shape BOP_ArgumentAnalyzer::myShape2 [private]
 

Standard_Boolean BOP_ArgumentAnalyzer::mySmallEdgeMode [private]
 

Standard_Boolean BOP_ArgumentAnalyzer::myStopOnFirst [private]
 

Standard_Boolean BOP_ArgumentAnalyzer::myTangentMode [private]
 


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