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

Search Results for

    Edit this page

    Method FromBinary1Bit

    | Edit this page View Source

    FromBinary1Bit(ReadOnlySpan<ulong>, GridMeta)

    Create an occupancy grid from a packed ternary mask (2 bits per voxel).

    Declaration
    public static OccupancyGrid FromBinary1Bit(ReadOnlySpan<ulong> mask, GridMeta meta)
    Parameters
    Type Name Description
    ReadOnlySpan<ulong> mask

    packed ternary mask (2 bits per voxel)

    GridMeta meta

    grid metadata

    Returns
    Type Description
    OccupancyGrid

    new occupancy grid

    Exceptions
    Type Condition
    ArgumentException

    if grid size does not match metadata