chore: Linting for markdown and js
This commit is contained in:
parent
eca8199ed8
commit
1c92e0f655
6677 changed files with 24391 additions and 25987 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: beamIntersectsCircle()
|
||||
---
|
||||
***
|
||||
|
||||
## title: beamIntersectsCircle()
|
||||
|
||||
```js
|
||||
array | false utils.beamIntersectsCircle(
|
||||
|
@ -16,13 +16,13 @@ Finds the intersection between an endless line through points `point1` and `poin
|
|||
and a circle with its center at point `center` and a radius of `radius` mm.
|
||||
|
||||
The 5th and last parameter controls the *sorting* of the found intersections.
|
||||
This will (almost) always return 2 intersections, and you can choose how
|
||||
This will (almost) always return 2 intersections, and you can choose how
|
||||
they are ordered in the returned array:
|
||||
|
||||
Set sort to:
|
||||
|
||||
- `x` : The point with the lowest X-coordinate will go first (left to right)
|
||||
- `y` : The point with the lowest Y-coordinate will go first (top to bottom)
|
||||
* `x` : The point with the lowest X-coordinate will go first (left to right)
|
||||
* `y` : The point with the lowest Y-coordinate will go first (top to bottom)
|
||||
|
||||
<Example part="utils_beamintersectscircle" caption="A Utils.beamIntersectsCircle() example" />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue