TriangleMeasurement

TriangleMeasurement[tri,type]

gives the specified type of measurement for the triangle tri.

Details

  • The triangle tri can be given as {p1,p2,p3}, Triangle[{p1,p2,p3}] or Polygon[{p1,p2,p3}].
  • The following measurement types can be given:
  • "Area"area
    "Circumradius"radius of circumcircle
    {"Exradius",p}radius of excircle opposite vertex p
    {"ExteriorAngle",p}exterior angle at vertex p
    {"FullExteriorAngle",p}full exterior angle at vertex p
    {"Height",p}height of the triangle measured from vertex p
    "Inradius"radius of incircle
    {"InteriorAngle",p}interior angle at vertex p
    "NinePointRadius"radius of nine-point circle
    "Perimeter"perimeter
    "Semiperimeter"semiperimeter
  • In the form {"type",p}, p can be a symbolic point specification in a geometric scene, or it can be an explicit vertex of the form {x,y}, Point[{x,y}] or the index i of the vertex. When given in the short form "type", the vertex p2 is used.
  • In any type that takes a vertex p, a value of All will return a list of three values corresponding to the vertices.
  • TriangleMeasurement can be used with symbolic points in GeometricScene.

Examples

open all close all

Basic Examples  (2)

Calculate the semiperimeter of a triangle:

In[1]:=
Click for copyable input
Out[2]=

Calculate the exradius of a triangle at the specified vertex:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Calculate all of the exradii:

In[3]:=
Click for copyable input
Out[3]=

Scope  (11)

Properties & Relations  (11)

Introduced in 2019
(12.0)