Implementation of computeBoundingBoxX