mergeMeshes {Morpho}R 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)


[Package Morpho version 2.12 Index]