Index: obj_common.h =================================================================== --- obj_common.h (revision 31239) +++ obj_common.h (revision 31240) @@ -291,6 +291,10 @@ return (size_t)obj / pcb_size_class(sizeof(pcb_any_obj_t)); } +/* Recalculate the bounding box of the object */ +void pcb_obj_update_bbox(pcb_board_t *pcb, pcb_any_obj_t *obj); + + /* Assuming clearance is happening (flags), clearance of an object in a polygon is the bigger of the obj's ->clearance and the polygon's ->enforce_clearance */