1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib3x-tri_incenter.md

15 lines
288 B
Markdown
Raw Normal View History

2021-05-03 16:47:36 +08:00
# tri_incenter
The `tri_incenter` function returns the incenter of a 2D triangle.
**Since:** 3.1
## Parameters
2021-07-09 19:08:23 +08:00
- `shape_pts` : the vertices of a 2D or 3D triangle.
2021-05-03 16:47:36 +08:00
## Examples
2022-06-06 13:11:46 +08:00
use <triangle/tri_incenter.scad>
2021-05-03 16:47:36 +08:00
assert(tri_incenter([[0, 0], [15, 0], [0, 20]]) == [5, 5]);