fm_mesh_3d {fmesher} | R Documentation |
Construct a 3D tetrahedralisation
Description
Constructs a 3D tetrahedralisation object.
Usage
fm_mesh_3d(loc = NULL, tv = NULL, ...)
fm_delaunay_3d(loc, ...)
Arguments
loc |
Input coordinates that should be part of the mesh. Can be a
matrix, |
tv |
Tetrahedron indices, as a N-by-4 index vector into |
... |
Currently unused. |
Value
An fm_mesh_3d
object
Functions
-
fm_delaunay_3d()
: Construct a plain Delaunay triangulation in 3D. Requires thegeometry
package.
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)
))
(m <- fm_delaunay_3d(matrix(rnorm(30), 10, 3)))
[Package fmesher version 0.5.0 Index]