Some advanced on the convexPolygonSplit function, might be fixed, need more testing.  Commited to be access from elsewhere.