| 
    Open CASCADE Technology
    7.4.0
    
   | 
 
#include <TopOpeBRepTool_ShapeClassifier.hxx>
Public Member Functions | |
| TopOpeBRepTool_ShapeClassifier () | |
| TopOpeBRepTool_ShapeClassifier (const TopoDS_Shape &SRef) | |
| SRef is the reference shape. StateShapeShape(S) calls will classify S with SRef.  More... | |
| void | ClearAll () | 
| reset all internal data (SolidClassifier included)  More... | |
| void | ClearCurrent () | 
| reset all internal data (except SolidClassified)  More... | |
| void | SetReference (const TopoDS_Shape &SRef) | 
| Set SRef as reference shape the next StateShapeReference(S,AvoidS) calls will classify S with SRef.  More... | |
| TopAbs_State | StateShapeShape (const TopoDS_Shape &S, const TopoDS_Shape &SRef, const Standard_Integer samedomain=0) | 
| classify shape S compared with shape SRef. samedomain = 0 : S1,S2 are not same domain samedomain = 1 : S1,S2 are same domain  More... | |
| Standard_Integer | SameDomain () const | 
| void | SameDomain (const Standard_Integer samedomain) | 
| set mode for next StateShapeShape call samedomain = true –> S,Sref are same domain –> point on restriction (ON S) is used to classify S. samedomain = false –> S,Sref are not domain –> point not on restriction of S (IN S) is used to classify S. samedomain value is used only in next StateShapeShape call  More... | |
| TopAbs_State | StateShapeShape (const TopoDS_Shape &S, const TopoDS_Shape &AvoidS, const TopoDS_Shape &SRef) | 
| classify shape S compared with shape SRef. AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)  More... | |
| TopAbs_State | StateShapeShape (const TopoDS_Shape &S, const TopTools_ListOfShape &LAvoidS, const TopoDS_Shape &SRef) | 
| classify shape S compared with shape SRef. LAvoidS is list of S subshapes to avoid in classification AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)  More... | |
| TopAbs_State | StateShapeReference (const TopoDS_Shape &S, const TopoDS_Shape &AvoidS) | 
| classify shape S compared with reference shape. AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)  More... | |
| TopAbs_State | StateShapeReference (const TopoDS_Shape &S, const TopTools_ListOfShape &LAvoidS) | 
| classify shape S compared with reference shape. LAvoidS is list of S subshapes to avoid in classification (usefull to avoid ON or UNKNOWN state in special cases)  More... | |
| TopOpeBRepTool_SolidClassifier & | ChangeSolidClassifier () | 
| void | StateP2DReference (const gp_Pnt2d &P2D) | 
| classify point P2D with myRef  More... | |
| void | StateP3DReference (const gp_Pnt &P3D) | 
| classify point P3D with myRef  More... | |
| TopAbs_State | State () const | 
| return field myState  More... | |
| const gp_Pnt2d & | P2D () const | 
| const gp_Pnt & | P3D () const | 
| TopOpeBRepTool_ShapeClassifier::TopOpeBRepTool_ShapeClassifier | ( | ) | 
| TopOpeBRepTool_ShapeClassifier::TopOpeBRepTool_ShapeClassifier | ( | const TopoDS_Shape & | SRef | ) | 
SRef is the reference shape. StateShapeShape(S) calls will classify S with SRef.
| TopOpeBRepTool_SolidClassifier& TopOpeBRepTool_ShapeClassifier::ChangeSolidClassifier | ( | ) | 
| void TopOpeBRepTool_ShapeClassifier::ClearAll | ( | ) | 
reset all internal data (SolidClassifier included)
| void TopOpeBRepTool_ShapeClassifier::ClearCurrent | ( | ) | 
reset all internal data (except SolidClassified)
| const gp_Pnt2d& TopOpeBRepTool_ShapeClassifier::P2D | ( | ) | const | 
| const gp_Pnt& TopOpeBRepTool_ShapeClassifier::P3D | ( | ) | const | 
| Standard_Integer TopOpeBRepTool_ShapeClassifier::SameDomain | ( | ) | const | 
| void TopOpeBRepTool_ShapeClassifier::SameDomain | ( | const Standard_Integer | samedomain | ) | 
set mode for next StateShapeShape call samedomain = true –> S,Sref are same domain –> point on restriction (ON S) is used to classify S. samedomain = false –> S,Sref are not domain –> point not on restriction of S (IN S) is used to classify S. samedomain value is used only in next StateShapeShape call
| void TopOpeBRepTool_ShapeClassifier::SetReference | ( | const TopoDS_Shape & | SRef | ) | 
Set SRef as reference shape the next StateShapeReference(S,AvoidS) calls will classify S with SRef.
| TopAbs_State TopOpeBRepTool_ShapeClassifier::State | ( | ) | const | 
return field myState
| void TopOpeBRepTool_ShapeClassifier::StateP2DReference | ( | const gp_Pnt2d & | P2D | ) | 
classify point P2D with myRef
| void TopOpeBRepTool_ShapeClassifier::StateP3DReference | ( | const gp_Pnt & | P3D | ) | 
classify point P3D with myRef
| TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeReference | ( | const TopoDS_Shape & | S, | 
| const TopoDS_Shape & | AvoidS | ||
| ) | 
classify shape S compared with reference shape. AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)
| TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeReference | ( | const TopoDS_Shape & | S, | 
| const TopTools_ListOfShape & | LAvoidS | ||
| ) | 
classify shape S compared with reference shape. LAvoidS is list of S subshapes to avoid in classification (usefull to avoid ON or UNKNOWN state in special cases)
| TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape | ( | const TopoDS_Shape & | S, | 
| const TopoDS_Shape & | SRef, | ||
| const Standard_Integer | samedomain = 0  | 
        ||
| ) | 
classify shape S compared with shape SRef. samedomain = 0 : S1,S2 are not same domain samedomain = 1 : S1,S2 are same domain
| TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape | ( | const TopoDS_Shape & | S, | 
| const TopoDS_Shape & | AvoidS, | ||
| const TopoDS_Shape & | SRef | ||
| ) | 
classify shape S compared with shape SRef. AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)
| TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape | ( | const TopoDS_Shape & | S, | 
| const TopTools_ListOfShape & | LAvoidS, | ||
| const TopoDS_Shape & | SRef | ||
| ) | 
classify shape S compared with shape SRef. LAvoidS is list of S subshapes to avoid in classification AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)
 1.8.13