Open CASCADE Technology 6.6.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.
#include <TopOpeBRepDS_InterferenceIterator.hxx>
Public Member Functions | |
TopOpeBRepDS_InterferenceIterator () | |
TopOpeBRepDS_InterferenceIterator (const TopOpeBRepDS_ListOfInterference &L) | |
Creates an iterator on the Interference of list <L>. | |
void | Init (const TopOpeBRepDS_ListOfInterference &L) |
re-initialize interference iteration process on the list of interference <L>. Conditions are not modified. | |
void | GeometryKind (const TopOpeBRepDS_Kind GK) |
define a condition on interference iteration process. Interference must match the Geometry Kind <ST> | |
void | Geometry (const Standard_Integer G) |
define a condition on interference iteration process. Interference must match the Geometry <G> | |
void | SupportKind (const TopOpeBRepDS_Kind ST) |
define a condition on interference iteration process. Interference must match the Support Kind <ST> | |
void | Support (const Standard_Integer S) |
define a condition on interference iteration process. Interference must match the Support <S> | |
void | Match () |
reach for an interference matching the conditions (if defined). | |
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. | |
Standard_Boolean | More () const |
Returns True if there is a current Interference in the iteration. | |
void | Next () |
Move to the next Interference. | |
Handle_TopOpeBRepDS_Interference & | Value () const |
Returns the current Interference, matching the conditions (if defined). | |
TopOpeBRepDS_ListIteratorOfListOfInterference & | ChangeIterator () |
TopOpeBRepDS_InterferenceIterator::TopOpeBRepDS_InterferenceIterator | ( | ) |
TopOpeBRepDS_InterferenceIterator::TopOpeBRepDS_InterferenceIterator | ( | const TopOpeBRepDS_ListOfInterference & | L | ) |
TopOpeBRepDS_ListIteratorOfListOfInterference& TopOpeBRepDS_InterferenceIterator::ChangeIterator | ( | ) |
void TopOpeBRepDS_InterferenceIterator::Geometry | ( | const Standard_Integer | G | ) |
void TopOpeBRepDS_InterferenceIterator::GeometryKind | ( | const TopOpeBRepDS_Kind | GK | ) |
void TopOpeBRepDS_InterferenceIterator::Init | ( | const TopOpeBRepDS_ListOfInterference & | L | ) |
void TopOpeBRepDS_InterferenceIterator::Match | ( | ) |
virtual Standard_Boolean TopOpeBRepDS_InterferenceIterator::MatchInterference | ( | const Handle< TopOpeBRepDS_Interference > & | I | ) | const [virtual] |
Reimplemented in TopOpeBRepDS_CurveIterator, and TopOpeBRepDS_PointIterator.
Standard_Boolean TopOpeBRepDS_InterferenceIterator::More | ( | ) | const |
void TopOpeBRepDS_InterferenceIterator::Next | ( | ) |
void TopOpeBRepDS_InterferenceIterator::Support | ( | const Standard_Integer | S | ) |
void TopOpeBRepDS_InterferenceIterator::SupportKind | ( | const TopOpeBRepDS_Kind | ST | ) |
Handle_TopOpeBRepDS_Interference& TopOpeBRepDS_InterferenceIterator::Value | ( | ) | const |