Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
BOP_ArgumentAnalyzer Class Reference

check the validity of argument(s) for Boolean Operations

#include <BOP_ArgumentAnalyzer.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC BOP_ArgumentAnalyzer ()
 empty constructor

void SetShape1 (const TopoDS_Shape &TheShape)
 sets object shape

void SetShape2 (const TopoDS_Shape &TheShape)
 sets tool shape

const TopoDS_Shape & GetShape1 () const
 returns object shape;

const TopoDS_Shape & GetShape2 () const
 returns tool shape

BOP_Operation & OperationType ()
 returns ref

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.

void Perform ()
 performs analysis

Standard_Boolean HasFaulty () const
 result of test

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

Protected Member Functions

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

Constructor & Destructor Documentation


Member Function Documentation


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