nn_interpolate_kdtree | R Documentation |
Return per-vertex data at the vertices closest to the given query points.
nn_interpolate_kdtree(query_coordinates, mesh, pervertex_data)
query_coordinates |
nx3 numerical matrix of x,y,z coordinates. These are typically the vertex positions of a second (spherical!) mesh for that you need per-vertex data (e.g., the |
mesh |
fs.surface instance, see |
pervertex_data |
numerical vector, the continuous per-vertex data for the vertices of the mesh. |
the per-vertex data for the vertices closest to the query coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.