Triangle

Triangle[{p1,p2,p3}]

represents a filled triangle with corner points p1, p2, and p3.

Triangle[{{p11,p12,p13},}]

represents a collection of triangles.

Details and Options

Examples

open allclose all

Basic Examples  (4)

A standard triangle in 2D:

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

A triangle in 3D:

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

Different styles applied to Triangle:

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

Area and centroid:

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

Scope  (18)

Applications  (6)

Properties & Relations  (5)

Neat Examples  (1)

See Also

Polygon  AASTriangle  SSSTriangle  ASATriangle  SASTriangle  Tetrahedron  Simplex

Introduced in 2014
(10.0)