alternatively it might be interesting to perform the continuity test before applying the transform, not after. So, for example, do one pass to confirm continuity, and then do a second pass to perform the actual transform.
alternatively it might be interesting to perform the continuity test before applying the transform, not after. So, for example, do one pass to confirm continuity, and then do a second pass to perform the actual transform.