Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
TopOpeBRepDS_InterferenceIterator Class Reference

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>

Inheritance diagram for TopOpeBRepDS_InterferenceIterator:
Inheritance graph
[legend]

Public Member Functions

 TopOpeBRepDS_InterferenceIterator ()
 
 TopOpeBRepDS_InterferenceIterator (const NCollection_List< occ::handle< TopOpeBRepDS_Interference > > &L)
 Creates an iterator on the Interference of list <L>.
 
void Init (const NCollection_List< occ::handle< TopOpeBRepDS_Interference > > &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 int 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 int S)
 define a condition on interference iteration process. Interference must match the Support
 
void Match ()
 reach for an interference matching the conditions (if defined).
 
virtual bool MatchInterference (const occ::handle< TopOpeBRepDS_Interference > &I) const
 Returns True if the Interference matches the conditions (if defined). If no conditions defined, returns True.
 
bool More () const
 Returns True if there is a current Interference in the iteration.
 
void Next ()
 Move to the next Interference.
 
const occ::handle< TopOpeBRepDS_Interference > & Value () const
 Returns the current Interference, matching the conditions (if defined).
 
NCollection_List< occ::handle< TopOpeBRepDS_Interference > >::Iterator & ChangeIterator ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TopOpeBRepDS_InterferenceIterator() [1/2]

TopOpeBRepDS_InterferenceIterator::TopOpeBRepDS_InterferenceIterator ( )

◆ TopOpeBRepDS_InterferenceIterator() [2/2]

TopOpeBRepDS_InterferenceIterator::TopOpeBRepDS_InterferenceIterator ( const NCollection_List< occ::handle< TopOpeBRepDS_Interference > > & L)

Creates an iterator on the Interference of list <L>.

Member Function Documentation

◆ ChangeIterator()

NCollection_List< occ::handle< TopOpeBRepDS_Interference > >::Iterator & TopOpeBRepDS_InterferenceIterator::ChangeIterator ( )

◆ Geometry()

void TopOpeBRepDS_InterferenceIterator::Geometry ( const int G)

define a condition on interference iteration process. Interference must match the Geometry <G>

◆ GeometryKind()

void TopOpeBRepDS_InterferenceIterator::GeometryKind ( const TopOpeBRepDS_Kind GK)

define a condition on interference iteration process. Interference must match the Geometry Kind <ST>

◆ Init()

void TopOpeBRepDS_InterferenceIterator::Init ( const NCollection_List< occ::handle< TopOpeBRepDS_Interference > > & L)

re-initialize interference iteration process on the list of interference <L>. Conditions are not modified.

◆ Match()

void TopOpeBRepDS_InterferenceIterator::Match ( )

reach for an interference matching the conditions (if defined).

◆ MatchInterference()

virtual bool TopOpeBRepDS_InterferenceIterator::MatchInterference ( const occ::handle< TopOpeBRepDS_Interference > & I) const
virtual

Returns True if the Interference matches the conditions (if defined). If no conditions defined, returns True.

Reimplemented in TopOpeBRepDS_CurveIterator, and TopOpeBRepDS_PointIterator.

◆ More()

bool TopOpeBRepDS_InterferenceIterator::More ( ) const

Returns True if there is a current Interference in the iteration.

◆ Next()

void TopOpeBRepDS_InterferenceIterator::Next ( )

Move to the next Interference.

◆ Support()

void TopOpeBRepDS_InterferenceIterator::Support ( const int S)

define a condition on interference iteration process. Interference must match the Support

◆ SupportKind()

void TopOpeBRepDS_InterferenceIterator::SupportKind ( const TopOpeBRepDS_Kind ST)

define a condition on interference iteration process. Interference must match the Support Kind <ST>

◆ Value()

const occ::handle< TopOpeBRepDS_Interference > & TopOpeBRepDS_InterferenceIterator::Value ( ) const

Returns the current Interference, matching the conditions (if defined).


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