Learn R Programming

fmesher (version 0.3.0)

fm_as_mesh_2d: Convert objects to fm_mesh_2d

Description

Convert objects to fm_mesh_2d

Usage

fm_as_mesh_2d(x, ...)

fm_as_mesh_2d_list(x, ...)

# S3 method for fm_mesh_2d fm_as_mesh_2d(x, ...)

# S3 method for inla.mesh fm_as_mesh_2d(x, ...)

# S3 method for fm_mesh_3d fm_as_mesh_2d(x, ...)

# S3 method for sfg fm_as_mesh_2d(x, ...)

# S3 method for sfc_MULTIPOLYGON fm_as_mesh_2d(x, ...)

# S3 method for sfc_POLYGON fm_as_mesh_2d(x, ...)

# S3 method for sf fm_as_mesh_2d(x, ...)

Value

An fm_mesh_2d or fm_mesh_2d_list object

Arguments

x

Object to be converted

...

Arguments passed on to submethods

Methods (by class)

  • fm_as_mesh_2d(fm_mesh_3d): Construct a 2D mesh of the boundary of a 3D mesh

Functions

  • fm_as_mesh_2d(): Convert an object to fm_mesh_2d.

  • fm_as_mesh_2d_list(): Convert each element of a list

See Also

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

Examples

Run this code
fm_as_mesh_2d_list(list(fm_mesh_2d(cbind(2, 1))))

Run the code above in your browser using DataLab