---
title: getSweep
status: published
category: primitives
group: Function
author: api
date: 06/23/2023
order: 35
---<Small>Public Function</Small>

Get the "sweep" or short distance between two points on a circle's perimeter.


##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`C`

</ParametersTableName>
<ParametersTableDescription>

```ts
VecLike
```

The center of the circle.




</ParametersTableDescription>
</ParametersTableRow>
<ParametersTableRow>
<ParametersTableName>

`A`

</ParametersTableName>
<ParametersTableDescription>

```ts
VecLike
```

The first point.




</ParametersTableDescription>
</ParametersTableRow>
<ParametersTableRow>
<ParametersTableName>

`B`

</ParametersTableName>
<ParametersTableDescription>

```ts
VecLike
```

The second point.




</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
number
```

##### References

[VecLike](/gen/primitives/VecLike-type)

