1
0
Fork 0
freesewing/sites/dev/docs/reference/api/utils
Jonathan Haas 4b83212f41 Fix and improve path intersection methods
- Add path.intersectsBeam() method
- Add utils.beamIntersectsLine() method
- Simplify calculation and improve precision on beam intersections
- Document return types properly
- beamIntersectsCurve now uses the proper function from Bezier library instead of emulating it by constructing a huge line
- docs: path.intersect... methods never return false, they simply return an empty array in case of no intersection
2024-10-03 11:37:55 +02:00
..
applytransformtopoint chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
beamintersectscircle chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
beamintersectscurve chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
beamintersectsline Fix and improve path intersection methods 2024-10-03 11:37:55 +02:00
beamintersectsx chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
beamintersectsy chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
beamsintersect Fix and improve path intersection methods 2024-10-03 11:37:55 +02:00
capitalize chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
circlesintersect chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
combinetransforms chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
curveedge chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
curveintersectsx chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
curveintersectsy chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
curveparameterfrompoint chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
curvesintersect chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
deg2rad chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
generatestacktransform chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
gettransformedbounds chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
lineintersectscircle chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
lineintersectscurve chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
linesintersect chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
mergei18n chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
mergeoptions chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
pctbasedon chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
pointonbeam chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
pointoncurve chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
pointonline chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
rad2deg chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
round chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
splitcurve chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
stretchtoscale chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
units chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
readme.mdx chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00

---
title: utils
---

The `utils` object is a plain object that bundles utility functions to
facilitate parametric design.

The following functions are provided by the `utils` object:

<ReadMore />