Class ChannelGridConversionExtensions
Provides extension methods for converting between ChannelGrid and other grid types.
Inherited Members
Namespace: ZLab.Discrete.Grids
Assembly: ZLab.Discrete.dll
Syntax
public static class ChannelGridConversionExtensions
Methods
| Name | Description |
|---|---|
| SetChannel(ChannelGrid, string, DistanceGrid) | Populates a specified channel of an existing ChannelGrid with distance data from a given DistanceGrid. If the channel does not exist, it will be created. |
| SetChannel(ChannelGrid, string, OccupancyGrid) | Populates a specified channel of an existing ChannelGrid with occupancy data from a given OccupancyGrid. If the channel does not exist, it will be created. |
| SetChannel<T>(ChannelGrid, string, DataGrid<T>) | Sets the DataGrid<T> values in a specified channel of an existing ChannelGrid. |
| SetChannel<T>(ChannelGrid, string, T) | Sets the custom typed value in a specified channel of an existing ChannelGrid. If the channel does not exist, it will be created with the type of |
| ToChannelGrid(DistanceGrid, string) | Creates a new ChannelGrid from the distance data stored in a DistanceGrid. |
| ToChannelGrid(OccupancyGrid, string) | Creates a new ChannelGrid from the occupancy data stored in an OccupancyGrid. |
| ToDataGrid<T>(ChannelGrid, string) | Creates a new DataGrid of type |
| ToDistanceGrid(ChannelGrid, string) | Creates a new DistanceGrid from the distance data stored in a specified channel of a ChannelGrid. |
| ToOccupancyGrid(ChannelGrid, string) | Creates a new OccupancyGrid from the occupancy data stored in a specified channel of a ChannelGrid. |