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

Search Results for

    Edit this page

    Method PackBinary1Bit

    | Edit this page View Source

    PackBinary1Bit(bool, bool)

    Export occupancy as a packed binary mask (1 bit per voxel).

    Declaration
    public ulong[] PackBinary1Bit(bool flipSign = false, bool boundaryAsInside = false)
    Parameters
    Type Name Description
    bool flipSign

    flip outside and inside

    bool boundaryAsInside

    treat boundary as inside?

    Returns
    Type Description
    ulong[]

    packed binary mask (1 bit per voxel)

    Remarks

    0=outside, 1=inside