Open CASCADE Technology
6.5.4
|
The algorithm is to classify loops that
shapes are Wires, Element are Edge.
#include <BOP_WireEdgeClassifier.hxx>
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. |
DEFINE_STANDARD_ALLOC BOP_WireEdgeClassifier::BOP_WireEdgeClassifier | ( | const TopoDS_Face & | F, |
const BOP_BlockBuilder & | BB | ||
) |
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] |
Implements BOP_CompositeClassifier.
TopAbs_State BOP_WireEdgeClassifier::CompareElementToShape | ( | const TopoDS_Shape & | E, |
const TopoDS_Shape & | W | ||
) | [virtual] |
Implements BOP_CompositeClassifier.
TopAbs_State BOP_WireEdgeClassifier::CompareShapes | ( | const TopoDS_Shape & | B1, |
const TopoDS_Shape & | B2 | ||
) | [virtual] |
Implements BOP_CompositeClassifier.
void BOP_WireEdgeClassifier::ResetElement | ( | const TopoDS_Shape & | E | ) | [virtual] |
Implements BOP_CompositeClassifier.
void BOP_WireEdgeClassifier::ResetShape | ( | const TopoDS_Shape & | B | ) | [virtual] |
Implements BOP_CompositeClassifier.
TopAbs_State BOP_WireEdgeClassifier::State | ( | ) | [virtual] |
Implements BOP_CompositeClassifier.