Open CASCADE Technology 7.7.0
|
Classify faces and shells. shapes are Shells, Elements are Faces. More...
#include <TopOpeBRepBuild_ShellFaceClassifier.hxx>
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. | |
void | Clear () |
TopAbs_State | CompareShapes (const TopoDS_Shape &B1, const TopoDS_Shape &B2) |
classify shell <B1> with shell <B2> | |
TopAbs_State | CompareElementToShape (const TopoDS_Shape &F, const TopoDS_Shape &S) |
classify face <F> with shell | |
void | ResetShape (const TopoDS_Shape &S) |
prepare classification involving shell | |
void | ResetElement (const TopoDS_Shape &F) |
prepare classification involving face <F> define 3D point (later used in Compare()) on first vertex of face <F>. | |
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. | |
TopAbs_State | State () |
Returns state of classification of 3D point, defined by ResetElement, with the current set of faces, defined by Compare. | |
![]() | |
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. | |
![]() | |
virtual | ~TopOpeBRepBuild_LoopClassifier () |
virtual TopAbs_State | Compare (const Handle< TopOpeBRepBuild_Loop > &L1, const Handle< TopOpeBRepBuild_Loop > &L2)=0 |
Returns the state of loop <L1> compared with loop <L2>. | |
Additional Inherited Members | |
![]() | |
TopOpeBRepBuild_CompositeClassifier (const TopOpeBRepBuild_BlockBuilder &BB) | |
![]() | |
Standard_Address | myBlockBuilder |
Classify faces and shells. shapes are Shells, Elements are Faces.
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.
void TopOpeBRepBuild_ShellFaceClassifier::Clear | ( | ) |
|
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.
|
virtual |
classify face <F> with shell
Implements TopOpeBRepBuild_CompositeClassifier.
|
virtual |
classify shell <B1> with shell <B2>
Implements TopOpeBRepBuild_CompositeClassifier.
|
virtual |
prepare classification involving face <F> define 3D point (later used in Compare()) on first vertex of face <F>.
Implements TopOpeBRepBuild_CompositeClassifier.
|
virtual |
prepare classification involving shell calls ResetElement on first face of
Implements TopOpeBRepBuild_CompositeClassifier.
|
virtual |
Returns state of classification of 3D point, defined by ResetElement, with the current set of faces, defined by Compare.
Implements TopOpeBRepBuild_CompositeClassifier.