csharp-libs
csharp-libs copied to clipboard
This repository contains my own C# libraries which I used for different projects in the past
I'm using the StraightSkeletonNet library, and when I call the SkeletonBuilder.Build(List polygon, List holes) method, I get a System.InvalidOperationException.  Here's the code I'm using as input: ``` var polygon...
 I don't think there should be an empty triangle。 The data of the test polygon is (0,0) (4,0) (4,-4) (8,-4) (8,-10) (-4,-10) (-4,-4) (0,-4)
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))`
Vertex.ToString asks for a string representation of the Bisector, but the class does not have a function implemented.