It uses the control box and discrete statistics instead of using the Green's theorem. Works better on contours that have no area. Surprisingly, this seems to be slower than StatisticsPen. Perhaps because MomentsPen is Cythonized.
It uses the control box and discrete statistics instead of using the Green's theorem. Works better on contours that have no area. Surprisingly, this seems to be slower than StatisticsPen. Perhaps because MomentsPen is Cythonized.