bauerdavid/napari-nD-annotator

Do not store every coordinate of the bounding box

Closed this issue · 0 comments

Currently every corner of the BB is stored, but is actually not used (they are reduced to the minimum and maximum points). This is hard to use (to add a new bounding box, all corners have to be generated), and gives error opportunities (what happens if someone programmatically changes a single corner?)
Instead every bounding box should be provided with two corners, which can be used to get every other corner.