Message 1 of 1
How to get edges from faces?

Not applicable
05-13-2010
12:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.