Open CASCADE Technology  7.3.0
Public Member Functions

TopOpeBRepBuild_ShellFaceClassifier Class Reference

Classify faces and shells. shapes are Shells, Elements are Faces. More...

#include <TopOpeBRepBuild_ShellFaceClassifier.hxx>

Inheritance diagram for TopOpeBRepBuild_ShellFaceClassifier:
Inheritance graph
[legend]

Public Member Functions

 TopOpeBRepBuild_ShellFaceClassifier (const TopOpeBRepBuild_BlockBuilder &BB)
 Creates a classifier in 3D space, to compare : a face with a set of faces a shell with a set of faces a shell with a shell. More...
 
void Clear ()
 
TopAbs_State CompareShapes (const TopoDS_Shape &B1, const TopoDS_Shape &B2)
 classify shell <B1> with shell <B2> More...
 
TopAbs_State CompareElementToShape (const TopoDS_Shape &F, const TopoDS_Shape &S)
 classify face <F> with shell <S> More...
 
void ResetShape (const TopoDS_Shape &S)
 prepare classification involving shell <S> calls ResetElement on first face of <S> More...
 
void ResetElement (const TopoDS_Shape &F)
 prepare classification involving face <F> define 3D point (later used in Compare()) on first vertex of face <F>. More...
 
Standard_Boolean CompareElement (const TopoDS_Shape &F)
 Add the face <F> in the set of faces used in 3D point classification. Returns FALSE if the face <F> has been already added to the set of faces, otherwise returns TRUE. More...
 
TopAbs_State State ()
 Returns state of classification of 3D point, defined by ResetElement, with the current set of faces, defined by Compare. More...
 
- Public Member Functions inherited from TopOpeBRepBuild_CompositeClassifier
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>. More...
 
- Public Member Functions inherited from TopOpeBRepBuild_LoopClassifier
virtual ~TopOpeBRepBuild_LoopClassifier ()
 

Additional Inherited Members

- Protected Member Functions inherited from TopOpeBRepBuild_CompositeClassifier
 TopOpeBRepBuild_CompositeClassifier (const TopOpeBRepBuild_BlockBuilder &BB)
 
- Protected Attributes inherited from TopOpeBRepBuild_CompositeClassifier
Standard_Address myBlockBuilder
 

Detailed Description

Classify faces and shells. shapes are Shells, Elements are Faces.

Constructor & Destructor Documentation

◆ TopOpeBRepBuild_ShellFaceClassifier()

TopOpeBRepBuild_ShellFaceClassifier::TopOpeBRepBuild_ShellFaceClassifier ( const TopOpeBRepBuild_BlockBuilder BB)

Creates a classifier in 3D space, to compare : a face with a set of faces a shell with a set of faces a shell with a shell.

Member Function Documentation

◆ Clear()

void TopOpeBRepBuild_ShellFaceClassifier::Clear ( )

◆ CompareElement()

Standard_Boolean TopOpeBRepBuild_ShellFaceClassifier::CompareElement ( const TopoDS_Shape F)
virtual

Add the face <F> in the set of faces used in 3D point classification. Returns FALSE if the face <F> has been already added to the set of faces, otherwise returns TRUE.

Implements TopOpeBRepBuild_CompositeClassifier.

◆ CompareElementToShape()

TopAbs_State TopOpeBRepBuild_ShellFaceClassifier::CompareElementToShape ( const TopoDS_Shape F,
const TopoDS_Shape S 
)
virtual

classify face <F> with shell <S>

Implements TopOpeBRepBuild_CompositeClassifier.

◆ CompareShapes()

TopAbs_State TopOpeBRepBuild_ShellFaceClassifier::CompareShapes ( const TopoDS_Shape B1,
const TopoDS_Shape B2 
)
virtual

classify shell <B1> with shell <B2>

Implements TopOpeBRepBuild_CompositeClassifier.

◆ ResetElement()

void TopOpeBRepBuild_ShellFaceClassifier::ResetElement ( const TopoDS_Shape F)
virtual

prepare classification involving face <F> define 3D point (later used in Compare()) on first vertex of face <F>.

Implements TopOpeBRepBuild_CompositeClassifier.

◆ ResetShape()

void TopOpeBRepBuild_ShellFaceClassifier::ResetShape ( const TopoDS_Shape S)
virtual

prepare classification involving shell <S> calls ResetElement on first face of <S>

Implements TopOpeBRepBuild_CompositeClassifier.

◆ State()

TopAbs_State TopOpeBRepBuild_ShellFaceClassifier::State ( )
virtual

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

Implements TopOpeBRepBuild_CompositeClassifier.


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