OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBool
TopOpeBRepTool


TopOpeBRepTool_ShapeClassifier Class Reference

#include <TopOpeBRepTool_ShapeClassifier.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT TopOpeBRepTool_ShapeClassifier ()
Standard_EXPORT TopOpeBRepTool_ShapeClassifier (const TopoDS_Shape &SRef)
 SRef is the reference shape.
StateShapeShape(S) calls will classify S with SRef.
.
Standard_EXPORT void ClearAll ()
 reset all internal data (SolidClassifier included)

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

Standard_EXPORT void SetReference (const TopoDS_Shape &SRef)
 Set SRef as reference shape
the next StateShapeReference(S,AvoidS) calls will classify S with SRef.
.
Standard_EXPORT 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_EXPORT Standard_Integer SameDomain () const
Standard_EXPORT 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

Standard_EXPORT 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)

Standard_EXPORT 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)

Standard_EXPORT 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)

Standard_EXPORT 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)

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

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

Standard_EXPORT TopAbs_State State () const
 return field myState

Standard_EXPORT const gp_Pnt2d & P2D () const
Standard_EXPORT const gp_Pnt & P3D () const

Private Member Functions

Standard_EXPORT void MapRef ()
Standard_EXPORT void FindEdge ()
Standard_EXPORT void FindEdge (const TopoDS_Shape &S)
Standard_EXPORT void FindFace (const TopoDS_Shape &S)
Standard_EXPORT void Perform ()
Standard_EXPORT void StateEdgeReference ()
 classify myEdge with myRef

Standard_EXPORT Standard_Boolean HasAvLS () const

Private Attributes

TopoDS_Shape myS
TopoDS_Shape myRef
TopoDS_Shape myAvS
TopOpeBRepTool_Plos myPAvLS
TopTools_IndexedMapOfShape myMapAvS
TopTools_IndexedMapOfShape mymre
Standard_Integer mymren
Standard_Boolean mymredone
TopAbs_State myState
TopoDS_Edge myEdge
TopoDS_Face myFace
Standard_Boolean myP3Ddef
gp_Pnt myP3D
Standard_Boolean myP2Ddef
gp_Pnt2d myP2D
TopOpeBRepTool_SolidClassifier mySolidClassifier
Standard_Integer mySameDomain


Constructor & Destructor Documentation

Standard_EXPORT TopOpeBRepTool_ShapeClassifier::TopOpeBRepTool_ShapeClassifier  ) 
 

Standard_EXPORT TopOpeBRepTool_ShapeClassifier::TopOpeBRepTool_ShapeClassifier const TopoDS_Shape &  SRef  ) 
 


Member Function Documentation

Standard_EXPORT TopOpeBRepTool_SolidClassifier& TopOpeBRepTool_ShapeClassifier::ChangeSolidClassifier  ) 
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::ClearAll  ) 
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::ClearCurrent  ) 
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::FindEdge const TopoDS_Shape &  S  )  [private]
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::FindEdge  )  [private]
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::FindFace const TopoDS_Shape &  S  )  [private]
 

Standard_EXPORT Standard_Boolean TopOpeBRepTool_ShapeClassifier::HasAvLS  )  const [private]
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::MapRef  )  [private]
 

void TopOpeBRepTool_ShapeClassifier::operator delete void *  anAddress  )  [inline]
 

void* TopOpeBRepTool_ShapeClassifier::operator new size_t  size  )  [inline]
 

void* TopOpeBRepTool_ShapeClassifier::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT const gp_Pnt2d& TopOpeBRepTool_ShapeClassifier::P2D  )  const
 

Standard_EXPORT const gp_Pnt& TopOpeBRepTool_ShapeClassifier::P3D  )  const
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::Perform  )  [private]
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::SameDomain const Standard_Integer  samedomain  ) 
 

Standard_EXPORT Standard_Integer TopOpeBRepTool_ShapeClassifier::SameDomain  )  const
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::SetReference const TopoDS_Shape &  SRef  ) 
 

Standard_EXPORT TopAbs_State TopOpeBRepTool_ShapeClassifier::State  )  const
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::StateEdgeReference  )  [private]
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::StateP2DReference const gp_Pnt2d &  P2D  ) 
 

Standard_EXPORT void TopOpeBRepTool_ShapeClassifier::StateP3DReference const gp_Pnt &  P3D  ) 
 

Standard_EXPORT TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeReference const TopoDS_Shape &  S,
const TopTools_ListOfShape &  LAvoidS
 

Standard_EXPORT TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeReference const TopoDS_Shape &  S,
const TopoDS_Shape &  AvoidS
 

Standard_EXPORT TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape const TopoDS_Shape &  S,
const TopTools_ListOfShape &  LAvoidS,
const TopoDS_Shape &  SRef
 

Standard_EXPORT TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape const TopoDS_Shape &  S,
const TopoDS_Shape &  AvoidS,
const TopoDS_Shape &  SRef
 

Standard_EXPORT TopAbs_State TopOpeBRepTool_ShapeClassifier::StateShapeShape const TopoDS_Shape &  S,
const TopoDS_Shape &  SRef,
const Standard_Integer  samedomain = 0
 


Field Documentation

TopoDS_Shape TopOpeBRepTool_ShapeClassifier::myAvS [private]
 

TopoDS_Edge TopOpeBRepTool_ShapeClassifier::myEdge [private]
 

TopoDS_Face TopOpeBRepTool_ShapeClassifier::myFace [private]
 

TopTools_IndexedMapOfShape TopOpeBRepTool_ShapeClassifier::myMapAvS [private]
 

TopTools_IndexedMapOfShape TopOpeBRepTool_ShapeClassifier::mymre [private]
 

Standard_Boolean TopOpeBRepTool_ShapeClassifier::mymredone [private]
 

Standard_Integer TopOpeBRepTool_ShapeClassifier::mymren [private]
 

gp_Pnt2d TopOpeBRepTool_ShapeClassifier::myP2D [private]
 

Standard_Boolean TopOpeBRepTool_ShapeClassifier::myP2Ddef [private]
 

gp_Pnt TopOpeBRepTool_ShapeClassifier::myP3D [private]
 

Standard_Boolean TopOpeBRepTool_ShapeClassifier::myP3Ddef [private]
 

TopOpeBRepTool_Plos TopOpeBRepTool_ShapeClassifier::myPAvLS [private]
 

TopoDS_Shape TopOpeBRepTool_ShapeClassifier::myRef [private]
 

TopoDS_Shape TopOpeBRepTool_ShapeClassifier::myS [private]
 

Standard_Integer TopOpeBRepTool_ShapeClassifier::mySameDomain [private]
 

TopOpeBRepTool_SolidClassifier TopOpeBRepTool_ShapeClassifier::mySolidClassifier [private]
 

TopAbs_State TopOpeBRepTool_ShapeClassifier::myState [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:43:07 2008 for OpenCASCADE by  doxygen 1.4.1