Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New static methods for creating Bezier curves #36

Merged
merged 7 commits into from
Oct 1, 2024

Conversation

stribor14
Copy link
Collaborator

@stribor14 stribor14 commented Sep 19, 2024

  • fit to polyline
    • fits a bezier curve of order N that passes through N dominant points on polyline and minimizes RMSD (root mean square dstance) and length difference (compared to given polyline)
  • join curves
    • fits a bezier curve through concatinated polyline representations of given curves
  • curve offset
    • fits a bezier curve through points computed as polyline representation offseted by some distance in direction of normal vector

close #37 #43
Some work done towards #41

@stribor14 stribor14 added the enhancement New feature or request label Sep 19, 2024
@stribor14 stribor14 requested a review from kturkovic September 19, 2024 09:21
@stribor14 stribor14 self-assigned this Sep 19, 2024
@stribor14 stribor14 added this to the v0.4.0 milestone Sep 19, 2024
@stribor14
Copy link
Collaborator Author

@kturkovic you don't have to check fromPolyline method in detail, because it is refactored already on the other branch to be more efficient and stable, but that branch depends on some new functionalities that break current library interface

include/Bezier/utils.h Show resolved Hide resolved
src/utils.cpp Show resolved Hide resolved
src/polycurve.cpp Show resolved Hide resolved
src/bezier.cpp Show resolved Hide resolved
@kturkovic kturkovic merged commit f79db79 into devel-v040 Oct 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants