public function getBoundingBox() { if ($this->boundingBox === null) { $this->boundingBox = $this->recalculateBoundingBox(); } return $this->boundingBox; }