WLJS LogoWLJS Notebook

TriangleCenter

TriangleCenter[tri, type] gives the specified type of center for the triangle tri.

  • TriangleCenter[tri] gives the centroid of the triangle.

Examples

TriangleCenter[Triangle[{{0, 0}, {1, 0}, {0, 1}}], "Incenter"]

Please visit the official Wolfram Language Reference for more details.

On this page