bezier
bezier copied to clipboard
Helper for Bézier Curves, Triangles, and Higher Order Objects
Hello. Is it possible to use your library to perform (automatic) conversion of b-spline to corresponding set of bezier curves, and vice-versa? Also mentioned [here](https://math.stackexchange.com/questions/364054/is-it-possible-to-convert-a-b-spline-into-a-bezier-curve ) If not would it...
The **exact** representations of the (linear) triangles are: ```python import numpy as np nodes1 = np.asfortranarray([ [ float.fromhex("-0x1.8000000000000p-1"), float.fromhex("-0x1.9555555555556p-1"), float.fromhex("-0x1.8000000000000p-1"), ], [ float.fromhex("0x1.0000000000000p+0"), float.fromhex("0x1.eaaaaaaaaaaaap-1"), float.fromhex("0x1.eaaaaaaaaaaaap-1"), ], ]) nodes2 = np.asfortranarray([...
See #206 for context.
~~See: https://github.com/conda-forge/staged-recipes/pull/2151~~
This would be a helper in that makes sure all `doctest` blocks are publicly exposed. Currently (as of 6f0420b9c577ec1622aba8b2ae38a5ef603e0e2c) `_2x2_det` and `_jacobian_det` contain doctests that **do not** get run. (This...
It makes sense to have `__config__.py` for Windows wheels were we (1) have vendored in a `bezier-6ac0718a.dll` into `.../site-packages/bezier/extra-dll` and (2) need to call `os.add_dll_directory("extra-dll")` But for "regular" Windows development,...
In [`curve-curve-intersection.rst`][1]. Add both a "straightforward" case and another that has to do polynomial clipping to reduce the list of candidate pairs. This should resemble [curve_intersection_potpourri.pdf](https://github.com/dhermes/bezier/files/4151491/curve_intersection_potpourri.pdf), a document I had...
Inspired by a snippet from https://www.tacc.utexas.edu/documents/13601/162125/fortran_class.pdf: ```fortran allocate(x_1d(n), x_2d(n,m), stat=ierror) ! Check the if (ierror /= 0) stop 'error' ! error status! ``` (Or #133 instead)
Spun out from #176.
[Currently][1] only 2D is supported. Right now, we just take the 2x2 Jacobian `J = J(s, t)` and convert it into the determinant polynomial `j(s, t) = det(J)` and then...