Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
TopOpeBRepBuild_ShellFaceClassifier Class Reference

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

#include <TopOpeBRepBuild_ShellFaceClassifier.hxx>

Inheritance diagram for TopOpeBRepBuild_ShellFaceClassifier:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC 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 <S>

void ResetShape (const TopoDS_Shape &S)
 prepare classification involving shell <S>
calls ResetElement on first face of <S>

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.


Constructor & Destructor Documentation


Member Function Documentation


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