Open CASCADE Technology 6.5.2
Public Member Functions | Protected Member Functions | Protected Attributes
BOP_CompositeClassifier Class Reference

The Root class for algorithms
to classify composite Loops, i.e, Loops that
can be either a Shape, or a block of Elements.

#include <BOP_CompositeClassifier.hxx>

Inheritance diagram for BOP_CompositeClassifier:
Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
virtual TopAbs_State Compare (const Handle< BOP_Loop > &L1, const Handle< BOP_Loop > &L2)
 Classify loop <L1> with <L2>

virtual TopAbs_State CompareShapes (const TopoDS_Shape &B1, const TopoDS_Shape &B2)=0
 Classify shape <B1> with shape <B2>

virtual TopAbs_State CompareElementToShape (const TopoDS_Shape &E, const TopoDS_Shape &B)=0
 Classify element <E> with shape

virtual void ResetShape (const TopoDS_Shape &B)=0
 Prepare classification involving shape
Calls ResetElement on first element of

virtual void ResetElement (const TopoDS_Shape &E)=0
 Prepare classification involving element <E>.

virtual void CompareElement (const TopoDS_Shape &E)=0
 Add element <E> in the set of elements used in classification.

virtual TopAbs_State State ()=0
 Returns state of classification of 2D point, defined by
ResetElement, with the current set of elements,
defined by Compare.

Protected Member Functions

 BOP_CompositeClassifier (const BOP_BlockBuilder &BB)
 Initializing the object with BlockBuilder;

Protected Attributes

Standard_Address myBlockBuilder

Constructor & Destructor Documentation

BOP_CompositeClassifier::BOP_CompositeClassifier ( const BOP_BlockBuilder BB) [protected]

Member Function Documentation

virtual TopAbs_State BOP_CompositeClassifier::Compare ( const Handle< BOP_Loop > &  L1,
const Handle< BOP_Loop > &  L2 
) [virtual]

Implements BOP_LoopClassifier.

Reimplemented in BOP_WireEdgeClassifier.

virtual void BOP_CompositeClassifier::CompareElement ( const TopoDS_Shape E) [pure virtual]
virtual TopAbs_State BOP_CompositeClassifier::CompareElementToShape ( const TopoDS_Shape E,
const TopoDS_Shape B 
) [pure virtual]
virtual TopAbs_State BOP_CompositeClassifier::CompareShapes ( const TopoDS_Shape B1,
const TopoDS_Shape B2 
) [pure virtual]
void BOP_CompositeClassifier::operator delete ( void *  anAddress) [inline]

Reimplemented from BOP_LoopClassifier.

Reimplemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.

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

Reimplemented from BOP_LoopClassifier.

Reimplemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.

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

Reimplemented from BOP_LoopClassifier.

Reimplemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.

virtual void BOP_CompositeClassifier::ResetElement ( const TopoDS_Shape E) [pure virtual]
virtual void BOP_CompositeClassifier::ResetShape ( const TopoDS_Shape B) [pure virtual]
virtual TopAbs_State BOP_CompositeClassifier::State ( ) [pure virtual]

Field Documentation


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