Since we now coupled `splitTriangleAtInternationalDateLine` to this, I still think we can code it more tightly - with less math and less data conversion.  @bagnell can help you.