Closed schelmo closed 2 years ago
Hi, @schelmo ,
You method face.pointAtLength
did not work as expected.
In fact, it encounted edges in the direction opposite to face orientation.
I changed it to more simple logic.
I also used precalculated edge.arc_length
property, which is the incremental length of the path from the face start.
New method released in the version v1.2.26
See visualization of the method in this notebook: https://observablehq.com/@alexbol99/run-point-along-polygon-boundary
Best regards, Alex
thank your very much for the fixes!
Merged and published @flatten-js/core@1.2.25 Note, I renamed method
face.length()
toface.perimeter()
Thank you for collaboration! Alex