code: def apply_obb(self):
          
          if len(self.root) == 1:
              matrix, bounds = polygons.polygon_obb(
                  self.polygons_closed[self.root[0]])
              self.apply_transform(matrix)
              return matrix
          else:
              raise ValueError('Not implemented for multibody geometry')
docs: Transform the current path so that its OBB is axis aligned
          and OBB center is at the origin.