fm_rcdt_2d | R Documentation |
Computes a refined constrained Delaunay triangulation on R2 or S2.
fm_rcdt_2d(...)
fm_rcdt_2d_inla(
loc = NULL,
tv = NULL,
boundary = NULL,
interior = NULL,
extend = (missing(tv) || is.null(tv)),
refine = FALSE,
lattice = NULL,
globe = NULL,
cutoff = 1e-12,
quality.spec = NULL,
crs = NULL,
...
)
fm_delaunay_2d(loc, crs = NULL, ...)
... |
Currently passed on to |
loc |
Input coordinates that should be part of the mesh. Can be a matrix, |
tv |
Initial triangulation, as a N-by-3 index vector into |
boundary , interior |
Objects supported by |
extend |
Setting to |
refine |
|
lattice |
An |
globe |
If non-NULL, an integer specifying the level of subdivision
for global mesh points, used with |
cutoff |
The minimum allowed distance between points. Point at most as far apart as this are replaced by a single vertex prior to the mesh refinement step. |
quality.spec |
List of vectors of per vertex |
crs |
Optional crs object |
An fm_mesh_2d
object
fm_rcdt_2d_inla()
: Legacy method for the INLA::inla.mesh.create()
interface
fm_delaunay_2d()
: Construct a plain Delaunay triangulation.
For mesh and curve creation, the fm_rcdt_2d_inla()
, fm_mesh_2d_inla()
,
and fm_nonconvex_hull_inla()
methods will keep the interface syntax used by
INLA::inla.mesh.create()
, INLA::inla.mesh.2d()
, and
INLA::inla.nonconvex.hull()
functions, respectively, whereas the
fm_rcdt_2d()
, fm_mesh_2d()
, and fm_nonconvex_hull()
interfaces may be
different, and potentially change in the future.
(m <- fm_rcdt_2d_inla(
boundary = fm_nonconvex_hull(cbind(0, 0), convex = 5)
))
fm_delaunay_2d(matrix(rnorm(30), 15, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.