View source: R/triangulate0.2d.R
triangulate0.2d | R Documentation |
Triangulation by Delaunayn algorithm. Automatically generates a triangular mesh for a geometry containing nodal points.
triangulate0.2d(u0, edge)
u0 |
Matrix (2 x n) of node coordinates within the geometry. |
edge |
Matrix (2 x n) of coordinate points on the perimeter of the geometry. |
Produces data for generated mesh.
Meshpts |
Includes both new mesh coordinate points and triangulation of points. |
Centroids |
Centroid positions for each triangle element. |
data(cleanpoly) data(polyshape) u0 = cleanpoly$CleanedNodes edge = polyshape$Line triMesh = triangulate0.2d(u0, edge)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.