I’m trying to update my code from openNURBS 5.0 to openNURBS 6.0, and it’s requiring a huge number of changes. One problem seems to be that the various “table” arrays for things in the ONX_Model have gone away.
I was just trying to replace
My immediate problem with this is that ModelGeometryFromUnsignedIndex isn’t declared const, which is tripping up my code. But when I tried to look at the implementation and see whether its un-const-ness was required, I discovered there is no implementation?! If I do
all I get is
opennurbs_extensions.h 1249: ON_ModelGeometryComponent ModelGeometryFromIndex( 1252: ON_ModelGeometryComponent ModelGeometryFromUnsignedIndex( 1255: ON_ModelGeometryComponent ModelGeometryFromId(
ie each of them appears only once, and they have no function body anywhere?