csharp-libs icon indicating copy to clipboard operation
csharp-libs copied to clipboard

Errors in computing events for very small polygons

Open michalstaron opened this issue 5 years ago • 1 comments

Line: https://github.com/reinterpretcat/csharp-libs/blob/c5cd4ce18ef96911acc5a4c2821ed25044a358be/straight_skeleton/StraightSkeletonNet/SkeletonBuilder.cs#L899 should be: Math.Abs(Math.Max(0, distance1 - SplitEpsilon)) Line: https://github.com/reinterpretcat/csharp-libs/blob/c5cd4ce18ef96911acc5a4c2821ed25044a358be/straight_skeleton/StraightSkeletonNet/SkeletonBuilder.cs#L901 should be: Math.Abs(Math.Max(0, distance2 - SplitEpsilon))

michalstaron avatar Mar 12 '20 10:03 michalstaron

Hi! Thanks for reporting it, can you make a pull request?

reinterpretcat avatar Apr 08 '20 21:04 reinterpretcat