1
\$\begingroup\$

I need to get all vertices in the edge position of a determinate object 3D (in this case a path).

See the image:

enter image description here

My question is, how can I get only the edges vertices, like the image?

\$\endgroup\$
  • \$\begingroup\$ I'm a little confused what defines an edge. You have a 2D projection of a 3D object here. Aren't all the vertices edge vertices in 3D? Are you asking for the vertices in the case of a particular 2D project? \$\endgroup\$ – Greg Petersen Apr 13 '18 at 16:02
1
\$\begingroup\$

One option is to iterate over all your triangle faces tallying up a count of each edge.

Any internal edge is shared by two faces, any external edge will appear only once.

\$\endgroup\$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.