Open CASCADE Technology 7.8.0
|
Classify edges and wires. shapes are Wires, Element are Edge. More...
#include <TopOpeBRepBuild_WireEdgeClassifier.hxx>
Public Member Functions | |
TopOpeBRepBuild_WireEdgeClassifier (const TopoDS_Shape &F, const TopOpeBRepBuild_BlockBuilder &BB) | |
Creates a classifier on edge <F>. Used to compare edges and wires on the edge <F>. | |
virtual TopAbs_State | Compare (const Handle< TopOpeBRepBuild_Loop > &L1, const Handle< TopOpeBRepBuild_Loop > &L2) override |
Returns the state of loop <L1> compared with loop <L2>. | |
TopoDS_Shape | LoopToShape (const Handle< TopOpeBRepBuild_Loop > &L) |
TopAbs_State | CompareShapes (const TopoDS_Shape &B1, const TopoDS_Shape &B2) override |
classify wire <B1> with wire <B2> | |
TopAbs_State | CompareElementToShape (const TopoDS_Shape &E, const TopoDS_Shape &B) override |
classify edge <E> with wire | |
void | ResetShape (const TopoDS_Shape &B) override |
prepare classification involving wire calls ResetElement on first edge of | |
void | ResetElement (const TopoDS_Shape &E) override |
prepare classification involving edge <E> define 2D point (later used in Compare()) on first vertex of edge <E>. | |
Standard_Boolean | CompareElement (const TopoDS_Shape &E) override |
Add the edge <E> in the set of edges used in 2D point classification. | |
TopAbs_State | State () override |
Returns state of classification of 2D point, defined by ResetElement, with the current set of edges, defined by Compare. | |
Public Member Functions inherited from TopOpeBRepBuild_LoopClassifier | |
virtual | ~TopOpeBRepBuild_LoopClassifier () |
Additional Inherited Members | |
Protected Member Functions inherited from TopOpeBRepBuild_CompositeClassifier | |
TopOpeBRepBuild_CompositeClassifier (const TopOpeBRepBuild_BlockBuilder &BB) | |
Protected Attributes inherited from TopOpeBRepBuild_CompositeClassifier | |
Standard_Address | myBlockBuilder |
Classify edges and wires. shapes are Wires, Element are Edge.
TopOpeBRepBuild_WireEdgeClassifier::TopOpeBRepBuild_WireEdgeClassifier | ( | const TopoDS_Shape & | F, |
const TopOpeBRepBuild_BlockBuilder & | BB | ||
) |
Creates a classifier on edge <F>. Used to compare edges and wires on the edge <F>.
|
overridevirtual |
Returns the state of loop <L1> compared with loop <L2>.
Reimplemented from TopOpeBRepBuild_CompositeClassifier.
|
overridevirtual |
Add the edge <E> in the set of edges used in 2D point classification.
Implements TopOpeBRepBuild_CompositeClassifier.
|
overridevirtual |
classify edge <E> with wire
Implements TopOpeBRepBuild_CompositeClassifier.
|
overridevirtual |
classify wire <B1> with wire <B2>
Implements TopOpeBRepBuild_CompositeClassifier.
TopoDS_Shape TopOpeBRepBuild_WireEdgeClassifier::LoopToShape | ( | const Handle< TopOpeBRepBuild_Loop > & | L | ) |
|
overridevirtual |
prepare classification involving edge <E> define 2D point (later used in Compare()) on first vertex of edge <E>.
Implements TopOpeBRepBuild_CompositeClassifier.
|
overridevirtual |
prepare classification involving wire calls ResetElement on first edge of
Implements TopOpeBRepBuild_CompositeClassifier.
|
overridevirtual |
Returns state of classification of 2D point, defined by ResetElement, with the current set of edges, defined by Compare.
Implements TopOpeBRepBuild_CompositeClassifier.