npm install simplicial-disjoint-union
var disjointUnion =//Example://// Combine a bunny and teapot into a single mesh////First read in meshesvar bunny =teapot =//Then combine positionsvar combinedPos = bunnypositions//Finally combine cells using simplicial-disjoint-unionvar combinedCells =
Joins two simplicial complexes together.
bare the complexes we are going to join
a_vertsan optional parameter giving the number of vertices in
aif not specified, is computed dynamically.
Returns The cells in
a concatenated to the cells in
b, with the vertices in
b relabeled by those in a's length.