Make a 2D mesh object
fm_mesh_2d(...)fm_mesh_2d_inla(
loc = NULL,
loc.domain = NULL,
offset = NULL,
n = NULL,
boundary = NULL,
interior = NULL,
max.edge = NULL,
min.angle = NULL,
cutoff = 1e-12,
max.n.strict = NULL,
max.n = NULL,
plot.delay = NULL,
crs = NULL,
...
)
An fm_mesh_2d
object.
Currently passed on to fm_mesh_2d_inla
Matrix of point locations to be used as initial triangulation
nodes. Can alternatively be a sf
, sfc
, SpatialPoints
or
SpatialPointsDataFrame
object.
Matrix of point locations used to determine the domain
extent. Can alternatively be a SpatialPoints
or
SpatialPointsDataFrame
object.
The automatic extension distance. One or two values, for an inner and an optional outer extension. If negative, interpreted as a factor relative to the approximate data diameter (default=-0.10???)
The number of initial nodes in the automatic extensions (default=16)
one or more (as list) of fm_segm()
objects, or objects
supported by fm_as_segm()
one object supported by fm_as_segm()
, or (from version
0.2.0.9016
) a list of such objects. If a list, the objects are joined
into a single object.
The largest allowed triangle edge length. One or two values.
The smallest allowed triangle angle. One or two values. (Default=21)
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.
The maximum number of vertices allowed, overriding
min.angle
and max.edge
(default=-1, meaning no limit). One or
two values, where the second value gives the number of additional vertices
allowed for the extension.
The maximum number of vertices allowed, overriding
max.edge
only (default=-1, meaning no limit). One or two values,
where the second value gives the number of additional vertices allowed for
the extension.
If logical TRUE
or a negative numeric value,
activates displaying the
result after each step of the multi-step domain extension algorithm.
An optional fm_crs()
, sf::crs
or sp::CRS
object
fm_mesh_2d_inla()
: Legacy method for INLA::inla.mesh.2d()
Create a triangle mesh based on initial point locations, specified or
automatic boundaries, and mesh quality parameters.
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.
Finn Lindgren finn.lindgren@gmail.com
fm_rcdt_2d()
, fm_mesh_2d()
, fm_delaunay_2d()
,
fm_nonconvex_hull()
, fm_extensions()
, fm_refine()
Other object creation and conversion:
fm_as_fm()
,
fm_as_lattice_2d()
,
fm_as_lattice_Nd()
,
fm_as_mesh_1d()
,
fm_as_mesh_2d()
,
fm_as_mesh_3d()
,
fm_as_segm()
,
fm_as_sfc()
,
fm_as_tensor()
,
fm_lattice_2d()
,
fm_lattice_Nd()
,
fm_mesh_1d()
,
fm_segm()
,
fm_simplify()
,
fm_tensor()
fm_mesh_2d_inla(boundary = fm_extensions(cbind(2, 1), convex = 1, 2))
Run the code above in your browser using DataLab