# shapeInputBounds

The box that holds every shape in `inputs`: each vertex, and the whole
of a circle's outline, taking the short way across the antimeridian (so
`east` may pass 180). Used to fit the map to what was imported.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { shapeInputBounds } from "@mapcairn/core";
 
function shapeInputBounds(inputs: readonly DrawShapeInput[]): Bounds | undefined;
```

## Parameters

- `inputs` (`readonly DrawShapeInput[]`)

## Returns

`Bounds | undefined`: `undefined` when there is nothing to hold.

## See also

- [`DrawShapeInput`](https://docs.mapcairn.com/api/core/DrawShapeInput.md)
- [`Bounds`](https://docs.mapcairn.com/api/core/Bounds.md)

Source: [packages/core/src/draw/import.ts:919](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/draw/import.ts#L919)
