interp_tris | R Documentation |
Interpolate values within mesh triangles in R.
interp_tris( query_coordinates, mesh_vertices, nearest_face_vertices, pervertex_data, iwd_beta = 2, cpp = TRUE )
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_vertices |
|
pervertex_data |
numerical vector, the continuous per-vertex data for the vertices of the mesh. |
iwd_beta |
scalar double, the |
cpp |
logical, whether to use the much faster |
vector with one entry per query coordinate (i.e., nrow(query_coordinates)
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.