pub fn earclip<T>( poly: &Polygon<T>, ) -> impl Iterator<Item = (PointId, PointId, PointId)> + '_where T: PolygonScalar,
$O(n^2)$ Polygon triangulation. Ears are selected in a pseudo-random manner.