Computes the centroids of the triangles of an fm_mesh_2d()
object.
Value
An sf
, data.frame
, or SpatialPointsDataFrame
object, with the vertex
coordinates, and a .triangle
column with the triangle indices.
Author
Finn Lindgren finn.lindgren@gmail.com