Some advanced on the convexPolygonSplit function but still broken.  Commited to be access from elsewhere.