bezier
bezier copied to clipboard
Helper for Bézier Curves, Triangles, and Higher Order Objects
Currently, the process involves copying functions from `include/bezier/*.h` into interfaces in `docs/abi/*.rst` (twice) and this is bound to be error prone.
Hello; A nice feature would be a function to approximate an elliptic arc with bezier curves such as here https://github.com/adobe-webplatform/Snap.svg/blob/b242f49e6798ac297a3dad0dfb03c0893e394464/src/path.js#L752.
Only 3 of the 4 intersections is present. The missing intersection is ``` B1(0.68898223650461365) = B2(0.68898223650461365) = [0.68898223650461365, 0.42857142857142855] ``` This is the same intersection observed to be missing in...
This cropped up in debug mode in recent versions of `gcc`. See 5f3412ddaa9b89c5941e49e8e3c1273fb16015c4.
It was here: https://github.com/dhermes/bezier/blob/429b56a465e9a05b37191f3eea0d926e14a1863f/.circleci/config.yml#L29-L31 It was removed in #246 because some combination of Ubuntu + gfortran + gcc + lcov updates has lead to phantom "missing" lines covered. After running...
Hi, I found a bug when using this library. ```python nodes1 = np.asfortranarray([ [2.8888563469481592, -1.5080712474161317], [10.700182708846356, -8.8105073796645534]]) curve1 = bezier.Curve(nodes1, degree=1) nodes2 = np.asfortranarray([ [0, 0.5, 1], [0, 0.20000000298023224, 0]])...
Also fixing POSIX sep vs. Windows sep issue in `print_tree()`. Fixes #144.
- Convex hull - Adding control points **with** a triangle / curve - Bounding box
Meant as a parallel to [`UnsupportedDegree`][1]. There are many "planar-only" algorithms, and there may be a few places where 2D and 3D are supported. So this would be a way...