<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [Range1d](./rc-js-util.range1d.md) &gt; [bound1d](./rc-js-util.range1d.bound1d.md)

## Range1d.bound1d() method

Bound this range to the argument.

**Signature:**

```typescript
bound1d(_boundTo: Range1d<TTypedArray>): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

\_boundTo


</td><td>

[Range1d](./rc-js-util.range1d.md)<!-- -->&lt;[TTypedArray](./rc-js-util.ttypedarray.md)<!-- -->&gt;


</td><td>


</td></tr>
</tbody></table>
**Returns:**

void

## Remarks

Where this range is larger than the bounding range, it will be resized to fit. Where this range is smaller than the bounding range but not contained, it will be moved maintaining its size. It Will be moved such that the the side furthest from the bounding range will be at the edge of the boundary.

