Giter Site home page Giter Site logo

Comments (4)

mc0re avatar mc0re commented on August 16, 2024

The exact failing data set is:
(0, 0),
(0, -2),
(-0.70710678118654746, -1.5),
(-0.70710678118654746, -0.5)

from miconvexhull.

micampbell avatar micampbell commented on August 16, 2024

Please see latest version (1.0.17.0911). I think this "edge case" has been fixed.

from miconvexhull.

CharlesGavett avatar CharlesGavett commented on August 16, 2024

micampbell, I do not this this problem has been solved. I am using version 1.1.18.1016 and am getting the problem with the following data set:
1298, 1094
1298, 1096
1298, 1097
1298, 1098

I get this error: System.ArgumentException: 'The input data is degenerate. It appears to exist in 3 dimensions, but it is a 2 dimensional set (i.e. the point of collinear, coplanar, or co-hyperplanar.)'

from miconvexhull.

micampbell avatar micampbell commented on August 16, 2024

if those four points are your entire data set, then this is correct to receive this error. Note that your 4 points are making a vertical line, and you appear to be asking for the delaunay triangulation or the voronoi. The existing methods are not able to handle this degenerate case.

from miconvexhull.

Related Issues (20)

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.