View source: R/read_fs_surface.R
adjust.face.indices.to | R Documentation |
This takes a matrix of integers, and adjusts the values such that the minimal value is the 'target_min_index' value. It is used to adjust from 0-based to 1-based indices in meshes.
adjust.face.indices.to(faces, target_min_index = 1L)
faces |
3xn integer matrix, the vertex indices of the faces |
target_min_index |
integer, one of 1L or 0L. The target minimal value that the data should have afterwards. |
3xn integer matrix, the adjusted values
The current and the target min values must be 0 or 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.