Description Usage Arguments Value Examples
Given a set of edges between vertices (with xy coordinates) it returns a matrix of all triangles formed by the edges.
1 | edges2faces(edges)
|
edges |
numeric matrix with two columns: index of points which have a edge |
faces numeric matrix with three columns: index of points which form a triangle
1 2 | edges <- cbind(c(1,1,1,2,2,3), c(2,3,4,3,4,4))
edges2faces(edges)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.