Comments (4)
The exact failing data set is:
(0, 0),
(0, -2),
(-0.70710678118654746, -1.5),
(-0.70710678118654746, -0.5)
from miconvexhull.
Please see latest version (1.0.17.0911). I think this "edge case" has been fixed.
from miconvexhull.
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.
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)
- Voronoi Cell Vertices HOT 2
- Signing of nuget package HOT 2
- ConvexHullGenerationException for simple square HOT 7
- points that are exaclty on faces HOT 1
- Convex Hull fails to create for co-linear points HOT 7
- New requirement on Create2D(IVertex2D) HOT 2
- Vertex really need to be a double[]? HOT 1
- Why randomly failed to generate with same 3D vertices? HOT 3
- ConvexHull is throwing an exception for 4D points HOT 2
- Triangulation of geo coordinates HOT 3
- Fails on certain combinations of vertices for seemingly no reason. HOT 2
- algo failing
- Getting Null reference when using Triangulation.CreateDelaunay HOT 3
- Is it possible to get the external triangles on the convex hull instead of both external and internal triangles from Triangulation.CreateDelaunay ?
- How does sending a list of unique vertices vs sending a list of vertices change hull calculation HOT 1
- 3d cube, strange CreateDelaunay behavior.
- Missing corners on steps geometry in 2D convex hull
- Question: is there any built in function to determine if a point is inside a 3D convex polygon ? HOT 1
- Delaunay Triangles Created Incorrectly
- Convex Hull result is not shown correctly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miconvexhull.