MATLAB Answers

How to get nodes order from element id?

1 view (last 30 days)
Nataliya Perevoshchikova
Nataliya Perevoshchikova on 4 Apr 2019
I am using
%project a point cloud on to the surface mesh (surface can only be triangular)
[newptL elemidL weightL]=proj2mesh(vertices1,faces1,vertices2,nv,cnL);
%newpt: the projected points from p
%elemid: a vector of length of p, denotes which surface trangle (in elem)
%contains the projected point
%weight: the barycentric coordinates for each projected points, these are the weights
So, how to get nodes order from element id and faces element id? I need to create the surface (faces3, vertices3) which will contain projected points and shares nodes with (faces1, vertices1)

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!