4 ms·
Depends on your definition of a path. If what you mean is something like a SVG path, then consider the path is defined as a series of command that describe the
by pyrolistical 4y ago
Depends on your definition of a path. If what you mean is something like a SVG path, then consider the path is defined as a series of command that describe the shape. See https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Pa...
From my understanding there is no closed form solution to arbitrary paths defined in that way. So the only way to figure out what the shape looks like, and to figure out if a point is inside or outside, you would need to run all the commands that form the path.
- Lichtso 4y agoMeet "Wavelet Rasterization" by J. Manson and S. Schaefer, from the paper: > Because we evaluate wavelet coefficients through line integrals in 2D, we are able to derive analytic solutions for polygons that have Bézier curve boundaries of any order, and we provide solutions for quadratic and cubic curves.