ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Class ChannelGridConversionExtensions

    Provides extension methods for converting between ChannelGrid and other grid types.

    Inheritance
    object
    ChannelGridConversionExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 T.

    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 T from the data stored in a specified channel of a ChannelGrid.

    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.