Search Results for

    Show / Hide Table of Contents

    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
    object
    GeometryCollectionEnumerator
    Implements
    IEnumerator<Geometry>
    IEnumerator
    IDisposable
    IEnumerable<Geometry>
    IEnumerable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Geometries
    Assembly: NetTopologySuite.dll
    Syntax
    public class GeometryCollectionEnumerator : IEnumerator<Geometry>, IEnumerator, IDisposable, IEnumerable<Geometry>, IEnumerable

    Constructors

    | Edit this page 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

    | Edit this page View Source

    Current

    Declaration
    public Geometry Current { get; }
    Property Value
    Type Description
    Geometry

    Methods

    | Edit this page View Source

    Dispose()

    Declaration
    public void Dispose()
    | Edit this page View Source

    GetEnumerator()

    Declaration
    public IEnumerator<Geometry> GetEnumerator()
    Returns
    Type Description
    IEnumerator<Geometry>
    | Edit this page View Source

    MoveNext()

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    bool
    | Edit this page View Source

    Reset()

    Declaration
    public void Reset()

    Implements

    IEnumerator<T>
    IEnumerator
    IDisposable
    IEnumerable<T>
    IEnumerable
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX