1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/docs/lib3x-tri_incenter.md
2021-07-09 19:08:23 +08:00

289 B

tri_incenter

The tri_incenter function returns the incenter of a 2D triangle.

Since: 3.1

Parameters

  • shape_pts : the vertices of a 2D or 3D triangle.

Examples

use <triangle/tri_incenter.scad>;

assert(tri_incenter([[0, 0], [15, 0], [0, 20]]) ==  [5, 5]);