Expand description
Analytical signed distance fields (SDF) and winding numbers for quadratic Béziers.
Functions§
- distance_
to_ quadratic - Computes the exact minimum Euclidean distance from query point
pto quadratic Béziercurve. - is_
point_ inside_ closed_ path - Evaluates whether point
pis inside a closed path composed of quadratic Béziers using standard NonZero winding number. - is_
point_ inside_ closed_ path_ rule - Evaluates whether point
pis inside a closed path composed of quadratic Béziers according to the specified fill rule (NonZero or EvenOdd). - solve_
cubic_ roots - Solves real roots of cubic equation: a * t^3 + b * t^2 + c * t + d = 0.