Description Usage Arguments Details Value Author(s) See Also Examples

scales (the vertices of a mesh by a scalar

1 |

`mesh` |
object of class "mesh3d" |

`size` |
numeric: scale factor |

`center` |
character: method to position center of mesh after scaling: values are "bbox", and "mean". See Details for more info. |

The mesh's center is determined either as mean of the bounding box (center="bbox") or mean of vertex coordinates (center="mean") and then scaled according to the scaling factor. If center="none", vertex coordinates will simply be multiplied by "size".

returns a scaled mesh

Stefan Schlager

1 2 3 | ```
data(nose)
#inflate mesh by factor 4
largenose <- scalemesh(shortnose.mesh,4)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.