fm_as_mesh_3d {fmesher}R Documentation

Convert objects to fm_mesh_3d

Description

Convert objects to fm_mesh_3d

Usage

fm_as_mesh_3d(x, ...)

fm_as_mesh_3d_list(x, ...)

## S3 method for class 'fm_mesh_3d'
fm_as_mesh_3d(x, ...)

Arguments

x

Object to be converted

...

Arguments passed on to submethods

Value

An fm_mesh_3d or fm_mesh_3d_list object

Functions

See Also

Other object creation and conversion: fm_as_collect(), fm_as_fm(), fm_as_lattice_2d(), fm_as_lattice_Nd(), fm_as_mesh_1d(), fm_as_mesh_2d(), fm_as_segm(), fm_as_sfc(), fm_as_tensor(), fm_collect(), fm_lattice_2d(), fm_lattice_Nd(), fm_mesh_1d(), fm_mesh_2d(), fm_segm(), fm_simplify(), fm_tensor()

Examples

(m <- fm_mesh_3d(
  matrix(c(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0), 4, 3, byrow = TRUE),
  matrix(c(1, 2, 3, 4), 1, 4, byrow = TRUE)
))
fm_as_mesh_3d_list(list(m))

[Package fmesher version 0.5.0 Index]