Open CASCADE Technology  7.6.0.dev
Public Member Functions
TopOpeBRepBuild_WireEdgeClassifier Class Reference

Classify edges and wires. shapes are Wires, Element are Edge. More...

#include <TopOpeBRepBuild_WireEdgeClassifier.hxx>

Inheritance diagram for TopOpeBRepBuild_WireEdgeClassifier:
Inheritance graph
[legend]

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>. More...
 
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>. More...
 
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> More...
 
TopAbs_State CompareElementToShape (const TopoDS_Shape &E, const TopoDS_Shape &B) override
 classify edge <E> with wire More...
 
void ResetShape (const TopoDS_Shape &B) override
 prepare classification involving wire calls ResetElement on first edge of More...
 
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>. More...
 
Standard_Boolean CompareElement (const TopoDS_Shape &E) override
 Add the edge <E> in the set of edges used in 2D point classification. More...
 
TopAbs_State State () override
 Returns state of classification of 2D point, defined by ResetElement, with the current set of edges, defined by Compare. More...
 
- 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
 

Detailed Description

Classify edges and wires. shapes are Wires, Element are Edge.

Constructor & Destructor Documentation

◆ TopOpeBRepBuild_WireEdgeClassifier()

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>.

Member Function Documentation

◆ Compare()

virtual TopAbs_State TopOpeBRepBuild_WireEdgeClassifier::Compare ( const Handle< TopOpeBRepBuild_Loop > &  L1,
const Handle< TopOpeBRepBuild_Loop > &  L2 
)
overridevirtual

Returns the state of loop <L1> compared with loop <L2>.

Reimplemented from TopOpeBRepBuild_CompositeClassifier.

◆ CompareElement()

Standard_Boolean TopOpeBRepBuild_WireEdgeClassifier::CompareElement ( const TopoDS_Shape E)
overridevirtual

Add the edge <E> in the set of edges used in 2D point classification.

Implements TopOpeBRepBuild_CompositeClassifier.

◆ CompareElementToShape()

TopAbs_State TopOpeBRepBuild_WireEdgeClassifier::CompareElementToShape ( const TopoDS_Shape E,
const TopoDS_Shape B 
)
overridevirtual

classify edge <E> with wire

Implements TopOpeBRepBuild_CompositeClassifier.

◆ CompareShapes()

TopAbs_State TopOpeBRepBuild_WireEdgeClassifier::CompareShapes ( const TopoDS_Shape B1,
const TopoDS_Shape B2 
)
overridevirtual

classify wire <B1> with wire <B2>

Implements TopOpeBRepBuild_CompositeClassifier.

◆ LoopToShape()

TopoDS_Shape TopOpeBRepBuild_WireEdgeClassifier::LoopToShape ( const Handle< TopOpeBRepBuild_Loop > &  L)

◆ ResetElement()

void TopOpeBRepBuild_WireEdgeClassifier::ResetElement ( const TopoDS_Shape E)
overridevirtual

prepare classification involving edge <E> define 2D point (later used in Compare()) on first vertex of edge <E>.

Implements TopOpeBRepBuild_CompositeClassifier.

◆ ResetShape()

void TopOpeBRepBuild_WireEdgeClassifier::ResetShape ( const TopoDS_Shape B)
overridevirtual

prepare classification involving wire calls ResetElement on first edge of

Implements TopOpeBRepBuild_CompositeClassifier.

◆ State()

TopAbs_State TopOpeBRepBuild_WireEdgeClassifier::State ( )
overridevirtual

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

Implements TopOpeBRepBuild_CompositeClassifier.


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