turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Navigation
- NX Design
- Forums
- Blogs
- Knowledge Bases
- Groups

- Siemens PLM Community
- NX Design
- NX Design Forum
- increase degree of a spline

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-06-2018 02:25 AM - edited 04-06-2018 04:24 AM

Sometimes I try to INCREASE the degree of spline, e.g. from 3 to 5.

Generally I use Fit Curve to do the job. In Fit Curve both ends would be confined by default and I would not do any futher "Specify Constraint" actions. My observation is that the error between the new spline and the original spline is often 0. I wonder whether they are de-facto mathematical equivalents.

Thanks for your comments!

Solved! Go to Solution.

Labels:

4 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-06-2018 07:03 AM - edited 04-06-2018 07:06 AM

Any spline of degree 3 can be represented exactly as a spline of degree 4 or 5 or any higher degree. So, if you apply any reasonable algorithm for increasing degree, the output curve should be identical to the input one.

To understand why, remember that splines are (roughly speaking) just polynomial functions. Suppose we have a polynomial of degree 3, say

a*t^3 + b*t^2 + c*t + d

I can write this as a (rather strange) polynomial of degree 5:

0*t^5 + 0*t^4 + a*t^3 + b*t^2 + c*t + d

By this reasoning, every polynomial of degree 3 is also a polynomial of degree 5.

yamada

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-06-2018 07:50 AM

Hi @Yamada Thank you for the explanation!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-06-2018 10:26 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-06-2018 09:51 PM - edited 04-06-2018 10:02 PM

> Does this also mean they will have the same number of segments or knots?

If you use the obvious algorithm, then you get a new spline that has the same number of segments as the old one. The knots have the same values, but the multiplicity of each is increased by one (the "multiplicity" of a knot is the number of times it's repeated in the knot sequence).

However, having said this, I'm not sure that NX always uses this "obvious algorithm". I think there are situations where it tries to do something a bit more clever.

One specific case that's important ...

If you take a curve with a single segment (i.e. a Bézier curve), then, when you increase its degree, it will have exactly the same shape, and it will still have a single segment. This is a common technique in class A work -- you start with a curve of degree 2, play with it, and if/when you decide you need more flexibility, you increase its degree. Increasing the degree gives you more poles to play with, but doesn't change the shape, so it doesn't destroy the good work you already did.

yamada

Follow Siemens PLM Software

© 2018 Siemens Product Lifecycle Management Software Inc