Porting code again... this seemed to work years ago:
ngonBase->BuildNgon(innerEdges, NULL, 2, 0, polygonsDest, pointsDest);
An array with 2 inner edge indices is passed, and BuildNgon() should construct an Ngon around them.
In R20, I am getting crashes with the following console output:
/Volumes/Branches/build_osx/osx-4-release/depot/release/20.0/modules/model/source/dave/modeling/ngonbase.cpp(1450): CRITICAL: Stop: Degenerated Ngon Creation, an Ngon must have at least 5 vertices.
I am well aware that the actual reason for the crash might be somewhere else... but I want to understand what's going on here. Under which conditions exactly is this error thrown? When are there less than 5 vertices in the Ngon?Does it have anything to do with the topography of the surrounding polygons?
Thank you & greetings,