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.
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.