PC = barycentricToCartesian(TR,ti,B)
returns
the Cartesian coordinates of the points in PC
= barycentricToCartesian(TR
,ti
,B
)B
. Each
row, B(j,:)
, contains the barycentric coordinates
of a point with respect to the triangle or tetrahedron, ti(j)
.
The point, PC(j,:)
, is the j
th
point represented in Cartesian coordinates.
 Triangulation representation, see 

Triangle or tetrahedron IDs, specified as a column vector. 

Barycentric coordinates, specified as a matrix. Each row, 

Cartesian coordinates, returned as a matrix. The point, 
A row number of the matrix, TR.ConnectivityList
.
Use this ID to refer a specific triangle or tetrahedron.