1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-27 01:04:39 +02:00

Improved numerical accuarcy of catenary calculations.

This commit is contained in:
Chris Palmer
2020-09-19 23:52:57 +01:00
parent 1255e71271
commit a7803b1efb
2 changed files with 6 additions and 7 deletions

View File

@@ -5268,7 +5268,7 @@ The coordinates of the lowest point on the curve can be retrieved by calling ```
|:--- |:--- |
| ```catenary(t, a)``` | Parametric catenary function linear along the length of the curve. |
| ```catenary_ds_by_da(d, a)``` | First derivative of the length with respect to ```a```. |
| ```catenary_find_a(d, l, a = 1)``` | Find the catenary constant ```a```, given half the horizontal span and the length. |
| ```catenary_find_a(d, l, a = 1, best_e = inf, best_a = 1)``` | Find the catenary constant ```a```, given half the horizontal span and the length. |
| ```catenary_points(l, x, y, steps = 100)``` | Returns a list of 2D points on the curve that goes from the origin to ```(x,y)``` and has length ```l```. |
| ```catenary_s(d, a)``` | Length of a symmetric catenary with width ```2d```. |