# Sandbox.PolygonMesh.CalculateBounds

## Overload 1

```csharp
BBox CalculateBounds()
```

Calculate bounds of all vertices

### Returns

`BBox`

## Overload 2

```csharp
BBox CalculateBounds(Transform transform)
```

Calculate bounds of all transformed vertices

### Parameters

- `transform` (`Transform`)

### Returns

`BBox`

Declared in [Sandbox.PolygonMesh](/api/Sandbox.PolygonMesh).
Assembly: `Sandbox.Engine`.
