I have a point cloud and a mesh (connections between nodes) and I need to upsample the number of points and update the mesh including the new points .
My initial idea was to use triangulation to add the incenters to the original nodes and then create new triangulation and keep on increasing the number of nodes with incenters , but I dont know how to update the mesh .
I am sorry I can not provide the original data .As toy example I hope the following is enough
nodes = [0 0 0 ; 0 1 0 ; 1 0 0 ;1/2 1/2 1]
mesh = [1 2 3; 1 3 4 ; 2 3 4; 1 2 4]
With the previous example , the idea is to get for instance 100 nodes with out altering the shape , which means that the new points should be on the facets /triangles of the original data.
Thanks