}
//now we just form our output array by injecting the hole vertices into place
//we know we have to inject the hole into the main array after point P going from
//rightMostHoleVertex around and then back to P.
int mIndex = holePolygon.indexOf(rightMostHoleVertex);
int injectPoint = polygonVertices.indexOf(P)+1;
for (int count = mIndex; count <= mIndex + holePolygon.size(); count++)
{