powered by
Triangulation by Delaunayn algorithm. Automatically generates a triangular mesh for a geometry containing nodal points.
triangulate0.2d(u0, edge)
Produces data for generated mesh.
Includes both new mesh coordinate points and triangulation of points.
Centroid positions for each triangle element.
Matrix (2 x n) of node coordinates within the geometry.
Matrix (2 x n) of coordinate points on the perimeter of the geometry.
data(cleanpoly) data(polyshape) u0 = cleanpoly$CleanedNodes edge = polyshape$Line triMesh = triangulate0.2d(u0, edge)
Run the code above in your browser using DataLab