Advertisement

Mesh data structures: Finding neighbouring edges of a vertex

Started by December 28, 2023 08:05 PM
11 comments, last by JoeJ 11 months, 2 weeks ago

@JoeJ Thanks for the reply!

JoeJ said:
V should become u in the next step.

Currently U becomes V on the next step for me. Made some other changes you mentioned too. I'm curious, what does the GetEdgePoly function return for you? Not seen a function name like this before

snoken said:
I'm curious, what does the GetEdgePoly function return for you? Not seen a function name like this before

It returns the polygon index of the given half edge, or -1 if there is no ploy and we are on the boundary.

If we are at the boundary, u and v can be still computed. But there is no surface, so there should be no contribution of those edges to the normal.

This topic is closed to new replies.

Advertisement