fmesher0.6.1 package

Triangle Meshes and Related Geometry Tools

as.triangles3d.fm_mesh_3d

Convert a 3D mesh to a 3D rgl triangulation

call-stack

Call stack utility functions

fm_area

Calculate the area inside segments

fm_as_collect

Convert objects to fm_collect

fm_as_fm

Convert objects to fmesher objects

fm_as_lattice_2d

Convert objects to fm_lattice_2d

fm_as_lattice_Nd

Convert objects to fm_lattice_Nd

fm_as_mesh_1d

Convert objects to fm_segm

fm_as_mesh_2d

Convert objects to fm_mesh_2d

fm_as_mesh_3d

Convert objects to fm_mesh_3d

fm_as_segm

Convert objects to fm_segm

fm_as_sfc

Conversion methods from mesh related objects to sfc

fm_as_tensor

Convert objects to fm_tensor

fm_assess

Interactive mesh building and diagnostics

fm_bary_loc

Extract Euclidean Sgeometry from Barycentric coordinates

fm_bary_simplex

Extract Simplex information for Barycentric coordinates

fm_bary

Compute barycentric coordinates

fm_basis_helpers

Internal helper functions for mesh field evaluation

fm_basis

Compute mapping matrix between mesh function space and points

fm_bbox

Bounding box class

fm_block

Blockwise aggregation matrices

fm_centroids

Extract triangle centroids from an fm_mesh_2d

fm_collect

Make a collection function space

fm_components

Compute connected mesh subsets

fm_contains

Check which mesh triangles are inside a polygon

fm_cprod

(Blockwise) cross product of integration points

fm_crs_is_identical

Check if two CRS objects are identical

fm_crs_is_null

Check if a crs is NULL or NA

fm_crs_plot

Plot CRS and fm_crs objects

fm_CRS_sp

Create a coordinate reference system object

fm_crs_wkt

Handling CRS/WKT

fm_crs-set

Assignment operators for crs information objects

fm_crs

Obtain coordinate reference system object

fm_detect_manifold

Detect manifold type

fm_diameter

Diameter bound for a geometric object

fm_dof

Function spece degrees of freedom

fm_evaluate

Methods for projecting to/from mesh objects

fm_fem

Compute finite element matrices

fm_generate_colors

Generate text RGB color specifications.

fm_gmrf

SPDE, GMRF, and Matérn process methods

fm_hexagon_lattice_orig

Create hexagon lattice points

fm_hexagon_lattice

Create hexagon lattice points

fm_int_mesh_2d_core

Integration scheme for mesh triangle interiors

fm_int_mesh_2d

Subset integration on a mesh

fm_int_multi_sampler

Multi-domain sampler integration

fm_int

Multi-domain integration

fm_is_within

Query if points are inside a mesh

fm_lattice_2d

Make a lattice object

fm_lattice_Nd

Lattice grids for N dimensions

fm_list

Handle lists of fmesher objects

fm_manifold

Query the mesh manifold type

fm_mesh_1d

Make a 1D mesh object

fm_mesh_2d_map

Special coordinate mappings for fm_mesh_2d projections.

fm_mesh_2d

Make a 2D mesh object

fm_mesh_3d

Construct a 3D tetrahedralisation

fm_mesh_intersection

Construct the intersection mesh of a mesh and a polygon

fm_nonconvex_hull_inla

Non-convex hull computation

fm_nonconvex_hull

Compute an extension of a spatial object

fm_pixels

Generate lattice points covering a mesh

fm_qinv

Sparse partial inverse

fm_raw_basis

Basis functions for mesh manifolds

fm_rcdt_2d

Refined Constrained Delaunay Triangulation

fm_refine

Refine a 2d mesh

fm_row_kron

Row-wise Kronecker products

fm_safe_sp

Check for potential sp version compatibility issues

fm_segm_contour_helper

Contour segment

fm_segm_list

Methods for fm_segm lists

fm_segm

Make a spatial segment object

fm_simplify_helper

Recursive curve simplification.

fm_simplify

Recursive curve simplification.

fm_sizes

fm_sizes

fm_split_lines

Split lines at triangle edges

fm_store_points

Store points in different formats

fm_subdivide

Split triangles of a mesh into subtriangles

fm_subset

Extract a subset of a mesh

fm_tensor

Make a tensor product function space

fm_transform

Object coordinate transformation

fm_unify_coords

Unify coordinates to 3-column matrix

fm_vertex_projection

Project integration points to mesh vertices

fm_vertices

Extract vertex locations from an fm_mesh_2d

fm_zm

Add or remove Z/M information

fmesher_bary

Barycentric coordinate computation

fmesher_bary3d

Barycentric coordinate computation

fmesher_fem

Finite element matrix computation

fmesher_globe_points

Globe points

fmesher_mesh3d

3D tetrahedralisation storage

fmesher_qinv

Compute sparse matrix inverse

fmesher_rcdt

Refined Constrained Delaunay Triangulation

fmesher_sparse

Conversion between sparse matrix types

fmesher_spherical_bsplines

Rotationally invariant spherical B-splines

fmesher_spherical_harmonics

Spherical harmonics

fmesher_split_lines

Split lines at triangle edges

fmesher_subdivide

Subdivide triangles

fmesher-deprecated

Deprecated functions in fmesher

fmesher-package

fmesher: Triangle Meshes and Related Geometry Tools

fmesher-print

Print objects

fmexample_sp

Add sp data to fmexample

geom_fm

ggplot2 geomes for fmesher related objects

local_testthat

Unit test helpers

new_fm_int

Construct integration scheme objects

plot_rgl

Low level triangulation mesh plotting

plot.fm_mesh_2d

Draw a triangulation mesh object

plot.fm_segm

Draw fm_segm objects.

print.fm_basis

Print method for fm_basis

print.fm_evaluator

Print method for fm_evaluator()

wkt_tree

Internal WKT handling

Generate planar and spherical triangle meshes, compute finite element calculations for 1-, 2-, and 3-dimensional flat and curved manifolds with associated basis function spaces, methods for lines and polygons, and transparent handling of coordinate reference systems and coordinate transformation, including 'sf' and 'sp' geometries. The core 'fmesher' library code was originally part of the 'INLA' package, and implements parts of "Triangulations and Applications" by Hjelle and Daehlen (2006) <doi:10.1007/3-540-33261-8>.

  • Maintainer: Finn Lindgren
  • License: MPL-2.0
  • Last published: 2025-12-12