1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/docs/lib3x-tri_circumcenter.md

15 lines
311 B
Markdown
Raw Normal View History

2021-05-03 16:47:36 +08:00
# tri_circumcenter
The `tri_circumcenter` function returns the circumcenter of a 2D triangle.
**Since:** 3.1
## Parameters
- `shape_pts` : the vertices of a 2D triangle.
## Examples
2022-06-06 13:11:46 +08:00
use <triangle/tri_circumcenter.scad>
2021-05-03 16:47:36 +08:00
assert(tri_circumcenter([[0, 0], [10, 20], [15, 10]]) == [3.75, 10.625]);