You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the StraightSkeletonNet library, and when I call the SkeletonBuilder.Build(List polygon, List<List> holes) method, I get a System.InvalidOperationException.
Here's the code I'm using as input:
var polygon = new List<Vector2d>()
{
new Vector2d(45940, 50540),
new Vector2d(0, 50540),
new Vector2d(0, 0),
new Vector2d(45940, 0)
};
var holes = new List<List<Vector2d>>()
{
new List<Vector2d>()
{
new Vector2d(11900, 12670),
new Vector2d(11900, 37220),
new Vector2d(33520, 37220),
new Vector2d(33520, 12670)
}
};
var result = SkeletonBuilder.Build(polygon, holes);
What could be causing this exception? Are there any solutions or suggestions that could help me resolve this problem?
Thank you!
The text was updated successfully, but these errors were encountered:
I'm using the StraightSkeletonNet library, and when I call the SkeletonBuilder.Build(List polygon, List<List> holes) method, I get a System.InvalidOperationException.
Here's the code I'm using as input:
What could be causing this exception? Are there any solutions or suggestions that could help me resolve this problem?
Thank you!
The text was updated successfully, but these errors were encountered: