Open CASCADE Technology
7.7.0
|
Iterate on interferences of a list, matching conditions on interferences. Nota : inheritance of ListIteratorOfListOfInterference from TopOpeBRepDS has not been done because of the impossibility of naming the classical More, Next methods which are declared as static in TCollection_ListIteratorOfList ... . ListIteratorOfList has benn placed as a field of InterferenceIterator. More...
#include <TopOpeBRepDS_InterferenceIterator.hxx>
Public Member Functions | |
TopOpeBRepDS_InterferenceIterator () | |
TopOpeBRepDS_InterferenceIterator (const TopOpeBRepDS_ListOfInterference &L) | |
Creates an iterator on the Interference of list <L>. More... | |
void | Init (const TopOpeBRepDS_ListOfInterference &L) |
re-initialize interference iteration process on the list of interference <L>. Conditions are not modified. More... | |
void | GeometryKind (const TopOpeBRepDS_Kind GK) |
define a condition on interference iteration process. Interference must match the Geometry Kind <ST> More... | |
void | Geometry (const Standard_Integer G) |
define a condition on interference iteration process. Interference must match the Geometry <G> More... | |
void | SupportKind (const TopOpeBRepDS_Kind ST) |
define a condition on interference iteration process. Interference must match the Support Kind <ST> More... | |
void | Support (const Standard_Integer S) |
define a condition on interference iteration process. Interference must match the Support <S> More... | |
void | Match () |
reach for an interference matching the conditions (if defined). More... | |
virtual Standard_Boolean | MatchInterference (const Handle< TopOpeBRepDS_Interference > &I) const |
Returns True if the Interference matches the conditions (if defined). If no conditions defined, returns True. More... | |
Standard_Boolean | More () const |
Returns True if there is a current Interference in the iteration. More... | |
void | Next () |
Move to the next Interference. More... | |
const Handle< TopOpeBRepDS_Interference > & | Value () const |
Returns the current Interference, matching the conditions (if defined). More... | |
TopOpeBRepDS_ListIteratorOfListOfInterference & | ChangeIterator () |
Iterate on interferences of a list, matching conditions on interferences. Nota : inheritance of ListIteratorOfListOfInterference from TopOpeBRepDS has not been done because of the impossibility of naming the classical More, Next methods which are declared as static in TCollection_ListIteratorOfList ... . ListIteratorOfList has benn placed as a field of InterferenceIterator.
TopOpeBRepDS_InterferenceIterator::TopOpeBRepDS_InterferenceIterator | ( | ) |
TopOpeBRepDS_InterferenceIterator::TopOpeBRepDS_InterferenceIterator | ( | const TopOpeBRepDS_ListOfInterference & | L | ) |
Creates an iterator on the Interference of list <L>.
TopOpeBRepDS_ListIteratorOfListOfInterference& TopOpeBRepDS_InterferenceIterator::ChangeIterator | ( | ) |
void TopOpeBRepDS_InterferenceIterator::Geometry | ( | const Standard_Integer | G | ) |
define a condition on interference iteration process. Interference must match the Geometry <G>
void TopOpeBRepDS_InterferenceIterator::GeometryKind | ( | const TopOpeBRepDS_Kind | GK | ) |
define a condition on interference iteration process. Interference must match the Geometry Kind <ST>
void TopOpeBRepDS_InterferenceIterator::Init | ( | const TopOpeBRepDS_ListOfInterference & | L | ) |
re-initialize interference iteration process on the list of interference <L>. Conditions are not modified.
void TopOpeBRepDS_InterferenceIterator::Match | ( | ) |
reach for an interference matching the conditions (if defined).
|
virtual |
Returns True if the Interference matches the conditions (if defined). If no conditions defined, returns True.
Reimplemented in TopOpeBRepDS_CurveIterator, and TopOpeBRepDS_PointIterator.
Standard_Boolean TopOpeBRepDS_InterferenceIterator::More | ( | ) | const |
Returns True if there is a current Interference in the iteration.
void TopOpeBRepDS_InterferenceIterator::Next | ( | ) |
Move to the next Interference.
void TopOpeBRepDS_InterferenceIterator::Support | ( | const Standard_Integer | S | ) |
define a condition on interference iteration process. Interference must match the Support <S>
void TopOpeBRepDS_InterferenceIterator::SupportKind | ( | const TopOpeBRepDS_Kind | ST | ) |
define a condition on interference iteration process. Interference must match the Support Kind <ST>
const Handle< TopOpeBRepDS_Interference >& TopOpeBRepDS_InterferenceIterator::Value | ( | ) | const |
Returns the current Interference, matching the conditions (if defined).