Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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

DEFINE_STANDARD_ALLOC 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


Member Function Documentation

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

Reimplemented from BOP_CompositeClassifier.


The documentation for this class was generated from the following file: