WOLFRAM|DEMONSTRATIONS PROJECT

Triangle Interior

​
With A = (0,0): D = rB + sC
B
C
r
s
1-(r+s)
{-4.51,1.49}
{-5.04,-2.12}
0.786
-0.202
0.416
Given triangle ABC with vectors AB and AC, a point D can be represented as
D=A+rAB+sAC
. If
r
,
s
, and
1-(r+s)
are all positive values, then D is inside the triangle.