Open CASCADE Technology 6.6.0
Public Member Functions
TopOpeBRepTool_ShapeClassifier Class Reference

#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.

void ClearAll ()
 reset all internal data (SolidClassifier included)

void ClearCurrent ()
 reset all internal data (except SolidClassified)

void SetReference (const TopoDS_Shape &SRef)
 Set SRef as reference shape
the next StateShapeReference(S,AvoidS) calls will classify S with SRef.

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

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

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)

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)

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)

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)

TopOpeBRepTool_SolidClassifierChangeSolidClassifier ()
void StateP2DReference (const gp_Pnt2d &P2D)
 classify point P2D with myRef

void StateP3DReference (const gp_Pnt &P3D)
 classify point P3D with myRef

TopAbs_State State () const
 return field myState

const gp_Pnt2dP2D () const
const gp_PntP3D () const

Constructor & Destructor Documentation

TopOpeBRepTool_ShapeClassifier::TopOpeBRepTool_ShapeClassifier ( )
TopOpeBRepTool_ShapeClassifier::TopOpeBRepTool_ShapeClassifier ( const TopoDS_Shape SRef)

Member Function Documentation

TopOpeBRepTool_SolidClassifier& TopOpeBRepTool_ShapeClassifier::ChangeSolidClassifier ( )
void TopOpeBRepTool_ShapeClassifier::ClearAll ( )
void TopOpeBRepTool_ShapeClassifier::ClearCurrent ( )
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)
void TopOpeBRepTool_ShapeClassifier::SetReference ( const TopoDS_Shape SRef)
TopAbs_State TopOpeBRepTool_ShapeClassifier::State ( ) const
void TopOpeBRepTool_ShapeClassifier::StateP2DReference ( const gp_Pnt2d P2D)
void TopOpeBRepTool_ShapeClassifier::StateP3DReference ( const gp_Pnt P3D)
TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeReference ( const TopoDS_Shape S,
const TopoDS_Shape AvoidS 
)
TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeReference ( const TopoDS_Shape S,
const TopTools_ListOfShape LAvoidS 
)
TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape ( const TopoDS_Shape S,
const TopoDS_Shape AvoidS,
const TopoDS_Shape SRef 
)
TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape ( const TopoDS_Shape S,
const TopoDS_Shape SRef,
const Standard_Integer  samedomain = 0 
)
TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape ( const TopoDS_Shape S,
const TopTools_ListOfShape LAvoidS,
const TopoDS_Shape SRef 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines