mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
281 stars 185 forks source link

bugfix: bug in check for clockwise polys - grain2d.load #1579

Closed BjaJac closed 1 year ago

BjaJac commented 1 year ago

I made an mistake in grain2d.load in the check for clockwise polys. So, in the previous version, after the check, the grains were computed again from the old, not flipped polys. Which leads to grains with negative areas.