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

Search Results for

    Edit this page

    Method PackTernary2Bit

    | Edit this page View Source

    PackTernary2Bit(bool)

    Export occupancy as a packed ternary mask (2 bits per voxel).

    Declaration
    public ulong[] PackTernary2Bit(bool flipSign = false)
    Parameters
    Type Name Description
    bool flipSign

    flip outside and inside

    Returns
    Type Description
    ulong[]

    packed ternary mask (2 bits per voxel)

    Remarks

    00=outside, 01=inside, 10=boundary, 11=unused