Skip to content

Spline endpoint#1158

Draft
Irev-Dev wants to merge 2 commits intomainfrom
kurt-11103-spline
Draft

Spline endpoint#1158
Irev-Dev wants to merge 2 commits intomainfrom
kurt-11103-spline

Conversation

@Irev-Dev
Copy link
Copy Markdown
Contributor

@Irev-Dev Irev-Dev commented Apr 20, 2026

…imating with a series of stright lines, with region selection working using arc approximation as well
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@ec70af5). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1158   +/-   ##
=======================================
  Coverage        ?   29.83%           
=======================================
  Files           ?       34           
  Lines           ?     1619           
  Branches        ?        0           
=======================================
  Hits            ?      483           
  Misses          ?     1136           
  Partials        ?        0           
Flag Coverage Δ
unittests 29.83% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

/// A general exact curve segment.
/// Start at the current path "pen" and end at the final control point.
/// In the first pass this is used for non-rational open-uniform spline curves.
Curve {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please call this Spline or BSpline or something of that nature. Curve is too abstract.

/// Degree of the curve.
degree: u32,
/// Whether to use the homogeneous `w` component as a rational weight.
rational: bool,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can infer this from the control points instead.

@alteous
Copy link
Copy Markdown
Contributor

alteous commented Apr 23, 2026

The spline/line constraint is awesome!

/// In the first pass this is used for non-rational open-uniform spline curves.
Curve {
/// Degree of the curve.
degree: u32,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The knot vector isn't customisable here but that can come later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants