Open CASCADE Technology 6.5.2
Public Member Functions
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)
 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 TopAbs_State Compare (const Handle< BOP_Loop > &L1, const Handle< BOP_Loop > &L2)
 Classify loop <L1> with <L2>

TopoDS_Shape LoopToShape (const Handle< BOP_Loop > &L)
 Internal usage

TopAbs_State CompareShapes (const TopoDS_Shape &B1, const TopoDS_Shape &B2)
 Classify wire <B1> with wire <B2>

TopAbs_State CompareElementToShape (const TopoDS_Shape &E, const TopoDS_Shape &W)
 Classify edge <E> with wire <W>

void ResetShape (const TopoDS_Shape &B)
 Prepare classification involving wire
calls ResetElement on first edge of

void ResetElement (const TopoDS_Shape &E)
 Prepare classification involving edge <E>
define 2D point (later used in Compare())
on first vertex of edge <E>.

void CompareElement (const TopoDS_Shape &E)
 Add the edge <E> in the set of edges used in 2D point
classification.

TopAbs_State State ()
 Returns state of classification of 2D point, defined by
ResetElement, with the current set of edges, defined by Compare.


Constructor & Destructor Documentation

BOP_WireEdgeClassifier::BOP_WireEdgeClassifier ( const TopoDS_Face F,
const BOP_BlockBuilder BB 
)

Member Function Documentation

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

Reimplemented from BOP_CompositeClassifier.

void BOP_WireEdgeClassifier::CompareElement ( const TopoDS_Shape E) [virtual]
TopAbs_State BOP_WireEdgeClassifier::CompareElementToShape ( const TopoDS_Shape E,
const TopoDS_Shape W 
) [virtual]
TopAbs_State BOP_WireEdgeClassifier::CompareShapes ( const TopoDS_Shape B1,
const TopoDS_Shape B2 
) [virtual]
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.

void BOP_WireEdgeClassifier::ResetElement ( const TopoDS_Shape E) [virtual]
void BOP_WireEdgeClassifier::ResetShape ( const TopoDS_Shape B) [virtual]
TopAbs_State BOP_WireEdgeClassifier::State ( ) [virtual]

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