Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Spline geometry update

More
3 years 1 month ago - 3 years 1 month ago #3606 by JBalis
Hello,

I am working with the SplineGeometry2d class (in netgen/libsrc/geom2d/geometry2d.hpp) and I am changing its array of geometry points on the fly, i.e. I am getting its NgArray < GeomPoint<D> > geompoints and then I am modifying their coordinates one by one.

Is there an already implemented function allowing to update the spline segments of the class SplineSeg3 (in netgen/libsrc/gprim/spline.hpp) once the geompoints have been moved?

What I would like is to move each geometry point one by one (without full geometry regeneration), and then obtain the new control points and weights of the spline segments that have been changed from this geometry modification.

When moving the geometry points of the SplineGeometry2d class, I did not yet find a way to straightforwardly change the spline segments of the SplineSeg3 class. Could you hint me on how to do that?

Thank you very much,

Joachim
Last edit: 3 years 1 month ago by JBalis.
Time to create page: 0.100 seconds