mergeMeshes: merge multiple triangular meshes into a single one

View source: R/mergeMeshes.r

mergeMeshesR Documentation

merge multiple triangular meshes into a single one

Description

merge multiple triangular meshes into a single one, preserving color and vertex normals.

Usage

mergeMeshes(...)

Arguments

...

triangular meshes of class 'mesh3d' to merge or a list of triangular meshes.

Value

returns the meshes merged into a single one.

See Also

mesh2ply, file2mesh, ply2mesh

Examples


## Not run: 
require(rgl)
data(boneData)
data(nose)
mergedMesh <- mergeMeshes(shortnose.mesh, skull_0144_ch_fe.mesh)
require(rgl)
shade3d(mergedMesh, col=3)

## End(Not run)


Morpho documentation built on June 22, 2024, 7:19 p.m.