I suggest with an assumption that the indexed parameters are the ones you need to specify explicitly (``pointI, islandI``) and the others could be wrapped into an ``meshData`` object?
So something like
``addPrismMappingsForPoint(mesh, pointI, islandI, meshData);``
And the meshData object would have some functionality to edit a specific member, like so:
``meshData.edit(memberName, editingID, operation){}``.
So if you make changes and need to now drop an ID from prismIslands, ``meshData.edit(prismIslands1, pointI, remove);``
Or the meshData object could have access functions:
prismIslands1()
{
return prismIsland1;
}
It would basically take all your internal nomenclature inside your object.
I guess you already are quite deft with lists at this point to manipulate the members in a clean way .