Open CASCADE Technology 7.8.2.dev
TopOpeBRepBuild_CompositeClassifier Class Referenceabstract

classify composite Loops, i.e, loops that can be either a Shape, or a block of Elements. More...

#include <TopOpeBRepBuild_CompositeClassifier.hxx>

Inheritance diagram for TopOpeBRepBuild_CompositeClassifier:

Public Member Functions

virtual TopAbs_State Compare (const Handle< TopOpeBRepBuild_Loop > &L1, const Handle< TopOpeBRepBuild_Loop > &L2) override
 Returns the state of loop <L1> compared with loop <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 Standard_Boolean CompareElement (const TopoDS_Shape &E)=0
 Add element <E> in the set of elements used in classification. Returns FALSE if the element <E> has been already added to the set of elements, otherwise returns TRUE.
 
virtual TopAbs_State State ()=0
 Returns state of classification of 2D point, defined by ResetElement, with the current set of elements, defined by Compare.
 
- Public Member Functions inherited from TopOpeBRepBuild_LoopClassifier
virtual ~TopOpeBRepBuild_LoopClassifier ()
 

Protected Member Functions

 TopOpeBRepBuild_CompositeClassifier (const TopOpeBRepBuild_BlockBuilder &BB)
 

Protected Attributes

Standard_Address myBlockBuilder
 

Detailed Description

classify composite Loops, i.e, loops that can be either a Shape, or a block of Elements.

Constructor & Destructor Documentation

◆ TopOpeBRepBuild_CompositeClassifier()

TopOpeBRepBuild_CompositeClassifier::TopOpeBRepBuild_CompositeClassifier ( const TopOpeBRepBuild_BlockBuilder & BB)
protected

Member Function Documentation

◆ Compare()

virtual TopAbs_State TopOpeBRepBuild_CompositeClassifier::Compare ( const Handle< TopOpeBRepBuild_Loop > & L1,
const Handle< TopOpeBRepBuild_Loop > & L2 )
overridevirtual

Returns the state of loop <L1> compared with loop <L2>.

Implements TopOpeBRepBuild_LoopClassifier.

Reimplemented in TopOpeBRepBuild_WireEdgeClassifier.

◆ CompareElement()

virtual Standard_Boolean TopOpeBRepBuild_CompositeClassifier::CompareElement ( const TopoDS_Shape & E)
pure virtual

Add element <E> in the set of elements used in classification. Returns FALSE if the element <E> has been already added to the set of elements, otherwise returns TRUE.

Implemented in TopOpeBRepBuild_ShellFaceClassifier, and TopOpeBRepBuild_WireEdgeClassifier.

◆ CompareElementToShape()

virtual TopAbs_State TopOpeBRepBuild_CompositeClassifier::CompareElementToShape ( const TopoDS_Shape & E,
const TopoDS_Shape & B )
pure virtual

classify element <E> with shape

Implemented in TopOpeBRepBuild_ShellFaceClassifier, and TopOpeBRepBuild_WireEdgeClassifier.

◆ CompareShapes()

virtual TopAbs_State TopOpeBRepBuild_CompositeClassifier::CompareShapes ( const TopoDS_Shape & B1,
const TopoDS_Shape & B2 )
pure virtual

classify shape <B1> with shape <B2>

Implemented in TopOpeBRepBuild_ShellFaceClassifier, and TopOpeBRepBuild_WireEdgeClassifier.

◆ ResetElement()

virtual void TopOpeBRepBuild_CompositeClassifier::ResetElement ( const TopoDS_Shape & E)
pure virtual

prepare classification involving element <E>.

Implemented in TopOpeBRepBuild_ShellFaceClassifier, and TopOpeBRepBuild_WireEdgeClassifier.

◆ ResetShape()

virtual void TopOpeBRepBuild_CompositeClassifier::ResetShape ( const TopoDS_Shape & B)
pure virtual

prepare classification involving shape calls ResetElement on first element of

Implemented in TopOpeBRepBuild_ShellFaceClassifier, and TopOpeBRepBuild_WireEdgeClassifier.

◆ State()

virtual TopAbs_State TopOpeBRepBuild_CompositeClassifier::State ( )
pure virtual

Returns state of classification of 2D point, defined by ResetElement, with the current set of elements, defined by Compare.

Implemented in TopOpeBRepBuild_ShellFaceClassifier, and TopOpeBRepBuild_WireEdgeClassifier.

Field Documentation

◆ myBlockBuilder

Standard_Address TopOpeBRepBuild_CompositeClassifier::myBlockBuilder
protected

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