Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an assert in contour_measure.cpp
Since fp32 has finite precision, a segment may reasonably become degenerate with length 0, and we need to be robust enough to handle this. Asserting that the distance is non-negative is still a good test. Fixes #7210. Diffs= 806ae1fae Fix an assert in contour_measure.cpp (#7232) Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
- Loading branch information