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

ModelingAlgorithms
TKBO
BOP


BOP_WireEdgeClassifier Class Reference

The algorithm is to classify loops that
shapes are Wires, Element are Edge.
.

#include <BOP_WireEdgeClassifier.hxx>

Inheritance diagram for BOP_WireEdgeClassifier:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BOP_WireEdgeClassifier (const TopoDS_Face &F, const BOP_BlockBuilder &BB)
 Creates a classifier on edge <f>.
Used to compare edges and wires on the edge <f>.
.
virtual Standard_EXPORT TopAbs_State Compare (const Handle(BOP_Loop)&L1, const Handle(BOP_Loop)&L2)
 Classify loop <l1> with <l2>
.
Standard_EXPORT TopoDS_Shape LoopToShape (const Handle(BOP_Loop)&L)
 Internal usage
.
Standard_EXPORT TopAbs_State CompareShapes (const TopoDS_Shape &B1, const TopoDS_Shape &B2)
 Classify wire <b1> with wire <b2>
.
Standard_EXPORT TopAbs_State CompareElementToShape (const TopoDS_Shape &E, const TopoDS_Shape &W)
 Classify edge <e> with wire <w>
.
Standard_EXPORT void ResetShape (const TopoDS_Shape &B)
 Prepare classification involving wire
calls ResetElement on first edge of
.

Standard_EXPORT void ResetElement (const TopoDS_Shape &E)
 Prepare classification involving edge <e>
define 2D point (later used in Compare())
on first vertex of edge <e>.
.
Standard_EXPORT void CompareElement (const TopoDS_Shape &E)
 Add the edge <e> in the set of edges used in 2D point
classification.
.
Standard_EXPORT TopAbs_State State ()
 Returns state of classification of 2D point, defined by
ResetElement, with the current set of edges, defined by Compare.
.

Private Attributes

Standard_Boolean myFirstCompare
gp_Pnt2d myPoint2d
BRepClass_Edge myBCEdge
BRepClass_FacePassiveClassifier myFPC
TopoDS_Shape myShape

Constructor & Destructor Documentation

Standard_EXPORT BOP_WireEdgeClassifier::BOP_WireEdgeClassifier const TopoDS_Face &  F,
const BOP_BlockBuilder BB
 


Member Function Documentation

virtual Standard_EXPORT TopAbs_State BOP_WireEdgeClassifier::Compare const Handle(BOP_Loop)&  L1,
const Handle(BOP_Loop)&  L2
[virtual]
 

Reimplemented from BOP_CompositeClassifier.

Standard_EXPORT void BOP_WireEdgeClassifier::CompareElement const TopoDS_Shape &  E  )  [virtual]
 

Implements BOP_CompositeClassifier.

Standard_EXPORT TopAbs_State BOP_WireEdgeClassifier::CompareElementToShape const TopoDS_Shape &  E,
const TopoDS_Shape &  W
[virtual]
 

Implements BOP_CompositeClassifier.

Standard_EXPORT TopAbs_State BOP_WireEdgeClassifier::CompareShapes const TopoDS_Shape &  B1,
const TopoDS_Shape &  B2
[virtual]
 

Implements BOP_CompositeClassifier.

Standard_EXPORT TopoDS_Shape BOP_WireEdgeClassifier::LoopToShape const Handle(BOP_Loop)&  L  ) 
 

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

Reimplemented from BOP_CompositeClassifier.

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

Reimplemented from BOP_CompositeClassifier.

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

Reimplemented from BOP_CompositeClassifier.

Standard_EXPORT void BOP_WireEdgeClassifier::ResetElement const TopoDS_Shape &  E  )  [virtual]
 

Implements BOP_CompositeClassifier.

Standard_EXPORT void BOP_WireEdgeClassifier::ResetShape const TopoDS_Shape &  B  )  [virtual]
 

Implements BOP_CompositeClassifier.

Standard_EXPORT TopAbs_State BOP_WireEdgeClassifier::State  )  [virtual]
 

Implements BOP_CompositeClassifier.


Field Documentation

BRepClass_Edge BOP_WireEdgeClassifier::myBCEdge [private]
 

Standard_Boolean BOP_WireEdgeClassifier::myFirstCompare [private]
 

BRepClass_FacePassiveClassifier BOP_WireEdgeClassifier::myFPC [private]
 

gp_Pnt2d BOP_WireEdgeClassifier::myPoint2d [private]
 

TopoDS_Shape BOP_WireEdgeClassifier::myShape [private]
 


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