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

Linear regression for cubic Bézier curve approximation #389

Open
YenPeiChen07 opened this issue Jul 17, 2024 · 0 comments
Open

Linear regression for cubic Bézier curve approximation #389

YenPeiChen07 opened this issue Jul 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request viewer Visualize stuff

Comments

@YenPeiChen07
Copy link
Collaborator

This issue is derived from PR #384 to track coding work for the linear regression.

Currently, a NACA 4-digit airfoil can be drawn in both linear approximation and cubic bezier approximation.

The next step is to calculate the L2-norm as a metric for determining cubic Bézier curve approximation.

Details for next step:

  1. Get the x-axis value of sampled points on each cubic Bézier curve (pX)
  2. Get the y-axis value (pY1) based on sampled point (pX)
  3. Get the y-axis value from NACA parametric curve (pY2)
  4. Calculate L2-norm between pY1 and pY2. (The square root of the sum of squares of the residual between pY1 and pY2)
@yungyuc yungyuc added enhancement New feature or request viewer Visualize stuff labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request viewer Visualize stuff
Projects
Status: No status
Development

No branches or pull requests

2 participants