mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-27 16:00:53 +08:00
0030424: C# wrapper - implement IEnumerable interface by NCollection classes
TopExp_Explorer::Value() - added Current() alias for providing interface consistent to other OCCT Iterators.
This commit is contained in:
@@ -125,7 +125,12 @@ public:
|
||||
//! Exceptions
|
||||
//! Standard_NoMoreObject if there are no more shapes to explore.
|
||||
Standard_EXPORT void Next();
|
||||
|
||||
|
||||
//! Returns the current shape in the exploration.
|
||||
//! Exceptions
|
||||
//! Standard_NoSuchObject if this explorer has no more shapes to explore.
|
||||
const TopoDS_Shape& Value() const { return Current(); }
|
||||
|
||||
//! Returns the current shape in the exploration.
|
||||
//! Exceptions
|
||||
//! Standard_NoSuchObject if this explorer has no more shapes to explore.
|
||||
|
||||
Reference in New Issue
Block a user