Skip to content

Allow list counters of more than 8 bits #56

@gilgamec

Description

@gilgamec

Currently hapPLY does not allow the user to specify a type for the variable which indicates how many elements are in a list; it always uses uchar (and throws and error if the data does not fit in a uchar). Note that at least for mesh-like data, popular software only accepts uchar.

I'd like to change this. Right now I have 3D data with polytopes with more than 256 sides, so I can't use happly to serialize them as PLY files.

It seems like it should be straightforward to choose the number of bits in the counter to match the largest list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions