Description Usage Arguments Value
Compute Barycentric Coordinates
1 | barycentric(p, v)
|
p |
a list containing equal length numeric vectors containing the coordinates of the points that we want to compute barycentric coordinates for. |
v |
numeric list-matrix where each row corresponds to a triangle vertex
data and each column the x and y coordinates for each vertex. Each element
of the underlying vectors is matched position wise to the corresponding
point in |
a list with there numeric vectors containing the barycentric coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.