 | coordinateBindCoordinateBindT Method (T) |
Binds the elements in a 3D
Array to their coordinates.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic static IEnumerable<Tuple<T, int, int, int>> CoordinateBind<T>(
this T[,,] this
)
Parameters
- this
- Type: T
The Array whose elements to use.
Type Parameters
- T
- The type of the Array.
Return Value
Type:
IEnumerableTupleT,
Int32,
Int32,
Int32A new
IEnumerableT of
TupleT1, T2, T3, T4. The first element of each tuple is the element, the next are the coordinates.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also