Coder Social home page Coder Social logo

reinterpretcat / csharp-libs Goto Github PK

View Code? Open in Web Editor NEW
35.0 5.0 13.0 228 KB

This repository contains my own C# libraries which I used for different projects in the past

License: Apache License 2.0

C# 100.00%
dependency-injection c-sharp straight-skeleton rx

csharp-libs's Introduction

Description

This repository contains different C# libraries which I use in different projects:

  • utydepend - dependency injection container
  • utyrx - reactive extensions fork which is based on unirx fork.
  • straight_skeleton - straight skeleton implementation which is port of kendzi's implementation

csharp-libs's People

Contributors

gregmeess avatar reinterpretcat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

csharp-libs's Issues

License

Hey, I'm looking into using this lib in a a project, but can't even consider it without a license attached. Can you add a license to your repo? I'd love if it could be MIT or LGPL :)

System.InvalidOperationException when calling SkeletonBuilder.Build method

I'm using the StraightSkeletonNet library, and when I call the SkeletonBuilder.Build(List polygon, List<List> holes) method, I get a System.InvalidOperationException.

image

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!

Great job

The polygon below causes exception at CorrectBisectorDirection (SkeletonBuilder.cs:261), would you please help me check this? Thanks a lot!

[[0.000000,0.000000,0],[23.454932,8.061873,0],[23.942510,6.643328,0],[26.779597,7.618484,0],[26.292019,9.037029,0],[48.328408,16.611326,0],[48.815986,15.192781,0],[51.653076,16.167937,0],[51.165498,17.586482,0],[74.620425,25.648357,0],[74.620425,46.832900,0],[48.428750,46.832900,0],[48.428750,48.332900,0],[45.428750,48.332900,0],[45.428750,46.832900,0],[20.737075,46.832900,0],[20.737075,48.332900,0],[17.737075,48.332900,0],[17.737075,46.832900,0],[-8.454595,46.832900,0],[-4.493782,24.892585,0],[-5.969922,24.626101,0],[-5.436957,21.673821,0],[-3.960818,21.940305,0]]

The project is lacking a LICENSE file

Please add a LICENSE file declaring your intended license.

Note that there is a derived TypeScript library that is licensed under the MIT license. Does this imply that this repository is licensed under MIT as well? Please clarify!

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.