Open CASCADE Technology
6.5.4
|
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>
Public Member Functions | |
virtual DEFINE_STANDARD_ALLOC 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 |
BOP_CompositeClassifier::BOP_CompositeClassifier | ( | const BOP_BlockBuilder & | BB | ) | [protected] |
virtual DEFINE_STANDARD_ALLOC 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] |
Implemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.
virtual TopAbs_State BOP_CompositeClassifier::CompareElementToShape | ( | const TopoDS_Shape & | E, |
const TopoDS_Shape & | B | ||
) | [pure virtual] |
Implemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.
virtual TopAbs_State BOP_CompositeClassifier::CompareShapes | ( | const TopoDS_Shape & | B1, |
const TopoDS_Shape & | B2 | ||
) | [pure virtual] |
Implemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.
virtual void BOP_CompositeClassifier::ResetElement | ( | const TopoDS_Shape & | E | ) | [pure virtual] |
Implemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.
virtual void BOP_CompositeClassifier::ResetShape | ( | const TopoDS_Shape & | B | ) | [pure virtual] |
Implemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.
virtual TopAbs_State BOP_CompositeClassifier::State | ( | ) | [pure virtual] |
Implemented in BOP_WireEdgeClassifier, and BOP_ShellFaceClassifier.