public function isClosed(): bool {
        foreach ($this->geometries as $geometry) {
            if (!$geometry->isClosed()) {
                return false;
            }
        }
        return true;
    }