seidel icon indicating copy to clipboard operation
seidel copied to clipboard

[DEPRECATED] A JS polygon triangulation library

Results 7 seidel issues
Sort by recently updated
recently updated
newest added

As expected, on data with co-linear lines no resulting triangles are returned. But here is an exception where a result is returned, and it's buggy: ``` [ [ [ 15,...

bug

If you uncomment the shuffle code in seidel.js, sometimes the triangles are empty. This probably means that markInside doesn't work correctly in some cases, which is a bug that needs...

bug

It would be nice to have the triangles as 3 indices referring to provided vertices instead of 3 vertices coordinates. My use case is to triangulate the pieces of a...

enhancement

The library doesn't yet implement Seidel's main idea of randomizing input and building trapezoidation in batches, because currently querying points in the trapezoid query structure isn't a bottleneck. E.g. monotone...

performance

Currently the library doesn't handle cases like vertices touching edges or edges touching edges (colinear) very well. Lets see if we can fix this cheaply without resorting to preprocessing with...

enhancement

On paper, shear transformation explains solution for degenerate cases just for illustration — it doesn't suggest doing the transformation with an explicit epsilon, but rather comparing point coordinates lexicographically (something...

enhancement

E.g. we can do this by taking some shape fixtures, triangulating them and comparing the shape area with the total triangles area.

enhancement