Triangle

Triangle[{p1,p2,p3}]
represents a filled triangle with corner points , , and .

Triangle[{{p11,p12,p13},}]
represents a collection of triangles.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (4)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]=
Introduced in 2014
(10.0)
Translate this page: