Struct Int2Grid.Enumerator
Struct enumerator that enumerates all cells of a bounded grid. This includes open cells that are not set. This can be used for constructing ALT<TNode> heuristics.
Implements
System.Collections.Generic.IEnumerator<Int2GridCell>
System.Collections.IEnumerator
System.IDisposable
Namespace: AnyPath.Graphs.Int2Grid
Assembly: Assembly-CSharp.dll
Syntax
public struct Enumerator : IEnumerator<Int2GridCell>, IEnumerator, IDisposable
Constructors
| Improve this Doc View SourceEnumerator(Int2Grid)
Declaration
public Enumerator(Int2Grid grid)
Parameters
Type | Name | Description |
---|---|---|
Int2Grid | grid |
Properties
| Improve this Doc View SourceCurrent
Declaration
public readonly Int2GridCell Current { get; }
Property Value
Type | Description |
---|---|
Int2GridCell |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
MoveNext()
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean |
Reset()
Declaration
public void Reset()
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerator.Current
Declaration
readonly object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object |
Implements
System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
System.IDisposable