Method PackTernary2Bit
| Edit this page View SourcePackTernary2Bit(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