How to get edges from faces?

How to get edges from faces?

Anonymous
Not applicable
224 Views
0 Replies
Message 1 of 1

How to get edges from faces?

Anonymous
Not applicable
We are trying to write some code using the Maya C++ API that generates output suitable for our internal game data structures. We currently store faces as pointers to edges and edges as pointers to vertexes. We do this to facilitate automated pathing and also LOD. However in the API I don't see any obvious way to get the edges associated with a face. I was wondering if edges are really associated with faces at all internally in Maya. Perhaps the association is just enforced by the Maya code and not Maya's internal data structures. I think I can write the code to build the association myself if I have to because I can get both vertexes of faces and vertexes of edges. However before I do, I wanted to check to see if there is any other easy way to get this information. Thanks in advance.
0 Likes
225 Views
0 Replies
Replies (0)