# `ExAws.Location.Routes.RouteMatrixAutoCircle`

`AutoCircle` requests the route matrix service to define a `Circle` boundary that best
attempts to include most waypoints (`Origins` and `Destinations`) using the `AutoCircle`
settings. Any waypoints outside of the auto-defined `Circle` boundary will be considered out
of the routing boundary, which results in a route matrix entry error.

`AutoCircle` is only used in the request to configure a `Circle` for the route calculation.
The derived `Circle` will also be provided in the response.

## Fields

* `:margin` - The minimal distance, in meters, between any waypoint and the perimeter of the
  circle auto-defined for the boundary. Some margin is usually recommended so that the routing
  has enough leeway to travel from one waypoint to another optimally without conflicting with
  the routing boundary.

* `:max_radius` - The maximum radius, in meters, that the auto-defined `Circle` boundary
  should have, before the `Margin` distance is added to the circle.

See https://docs.aws.amazon.com/location/latest/APIReference/API_RouteMatrixAutoCircle.html

# `t`

```elixir
@type t() :: %ExAws.Location.Routes.RouteMatrixAutoCircle{
  margin: integer() | nil,
  max_radius: integer() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
