Show / Hide Table of Contents

Interface ITopoArray<T>

A read-only array coupled with a specific Topology

Namespace: DeBroglie.Topo
Assembly: DeBroglie.dll
Syntax
public interface ITopoArray<out T>
Type Parameters
Name Description
T

Properties

| Edit this page View Source

Topology

Gets the Topology associated with an array

Declaration
ITopology Topology { get; }
Property Value
Type Description
ITopology

Methods

| Edit this page View Source

Get(int)

Gets the value at a particular location. See Topology to see how location indices work.

Declaration
T Get(int index)
Parameters
Type Name Description
int index
Returns
Type Description
T
| Edit this page View Source

Get(int, int, int)

Gets the value at a particular location.

Declaration
T Get(int x, int y, int z = 0)
Parameters
Type Name Description
int x
int y
int z
Returns
Type Description
T

Extension Methods

TopoArrayExtensions.Map<T, U>(ITopoArray<T>, Func<T, U>)
TopoArrayExtensions.ToArray2d<T>(ITopoArray<T>)
TopoArrayExtensions.ToArray3d<T>(ITopoArray<T>)
TopoArrayExtensions.ToTiles<T>(ITopoArray<T>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX