Poly2Tri library adapted for WMSK
