set_roi_bboxes and set_roi_verts are manipulating the same conceptual information so they should modify each others properties in the database
Ideally set_roi_bboxes would not exist, but it would be too much work to remove that right now. Or perhaps it would just modify the scale of any existing polygon (which would have the right effect on base case (rectangle) polygons)
set_roi_num_verts should be removed or flaged as a private / protected function. the user should not modify that data as it belongs conceptually to the idea of the bounding polygon.
set_roi_bboxes and set_roi_verts are manipulating the same conceptual information so they should modify each others properties in the database
Ideally set_roi_bboxes would not exist, but it would be too much work to remove that right now. Or perhaps it would just modify the scale of any existing polygon (which would have the right effect on base case (rectangle) polygons)
set_roi_num_verts should be removed or flaged as a private / protected function. the user should not modify that data as it belongs conceptually to the idea of the bounding polygon.