boundingBox cpp