2

All the fun you can have with NGons

As you may know, a PolygonObject is composed of CPolygons which are 4 sided polygons.  The triangle case is supported by using the same vector ID for the c and d members.  There is an abstraction called a NGon that represents 5+ sided polygons.  So, while I was fiddling with them for my own interop related work, I figured I could share a few tips about them and throw a couple freebies in while at it. Continue Reading