I decided to use the plural of each type to return the count. You had started out using a prefix of num_, but in my mind that could be interpreted as a command to number the edges, which is why I avoided using it.
If you'd prefer, the methods could be named using a suffix _count so
face_count()edge_count()
Let me know if you have a preference for naming these methods.
I decided to use the plural of each type to return the count. You had started out using a prefix of
num_
, but in my mind that could be interpreted as a command to number the edges, which is why I avoided using it.If you'd prefer, the methods could be named using a suffix
_count
soface_count()
edge_count()
Let me know if you have a preference for naming these methods.
Example: