Class GeometryCollectionEnumerator
Iterates over all Geometry
's in a GeometryCollection
.
Implements a pre-order depth-first traversal of the GeometryCollection
(which may be nested). The original GeometryCollection
is
returned as well (as the first object), as are all sub-collections. It is
simple to ignore the GeometryCollection
objects if they are not
needed.
Inheritance
GeometryCollectionEnumerator
Assembly: NetTopologySuite.dll
Syntax
public class GeometryCollectionEnumerator : IEnumerator<Geometry>, IEnumerator, IDisposable, IEnumerable<Geometry>, IEnumerable
Constructors
|
Improve this Doc
View Source
GeometryCollectionEnumerator(Geometry)
Constructs an iterator over the given GeometryCollection
.
Declaration
public GeometryCollectionEnumerator(Geometry parent)
Parameters
Type |
Name |
Description |
Geometry |
parent |
The collection over which to iterate; also, the first
element returned by the iterator.
|
Properties
|
Improve this Doc
View Source
Current
Declaration
public Geometry Current { get; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<Geometry> GetEnumerator()
Returns
|
Improve this Doc
View Source
MoveNext()
Declaration
Returns
|
Improve this Doc
View Source
Reset()
Declaration
Explicit Interface Implementations
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
|
Improve this Doc
View Source
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Implements