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 singularities

More
2 years 9 months ago - 2 years 9 months ago #3735 by JBalis
Hello,

I am performing shape optimization with Netgen in C++ with the SplineSeg3 class and I am wondering if there is a way to elegantly determine the "singularities" of a geometry, i.e. the points where the spline geometry is not C1 continuous.

For instance, in a square domain as the one that I attach to my post, is there a straightforward way to identify the 4 corner points? Or do I need to identify them manually?

Right now, I use a "hack" where I check if the tangential direction to the spline geometry is the same at the left and at the right of a given geometry point but this is not really elegant nor straightforward.

Thank you for your help,

Joachim
Last edit: 2 years 9 months ago by JBalis.
Time to create page: 0.086 seconds