Description Usage Arguments Value Examples
rtini_extract()
produces "linearized" coordinates that are useful for
directly indexing back into the elevation map, but can be clumsy for
plotting. "Linearized" coordinates are offsets that can be used to access a
matrix or array as if it were a dimensionless vector. This function
converts those coordinates to x/y/z values.
1 | id_to_coord(mesh, map, normalize = FALSE)
|
mesh |
list of numeric matrices as produced by |
map |
numeric matrix elevation map used to produce the mesh. |
normalize |
FALSE unimplemented |
list with three components, one for each dimension. Each component is a three row matrix in which each column represents one triangle.
1 2 3 | err <- rtini_error(volcano)
mesh <- rtini_extract(err, 10)
coord <- id_to_coord(mesh, volcano)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.