I've been working with openNURBS for a month now and could always manage to find a way to do whatever I needed just by reading the source code.
But for two days now, I am stuck on a problem for which I can't find any solution at the moment and that's why I'd need your help.
Here is my problem:
I have a 3D model stored in a 3dm file and I'd like to take sample points of that model. To do so, I just took the domain where my nurbs surfaces are defined and used openNURBS routines to evaluate points on a grid (100*100 uxv).
The problem is I get points that are not part of my model. For example, if my model is a cylinder closed by two planes, I get points that belongs to the planes but aren't part of my model.
So to try and solve this, I looked closely into Lopps and trims, but didn't manage to find anything helpful.
I hope someone can finally help me, 'cause I am pretty much stuck and can't go through my project as long as I am not done with this.
Thanks in advance.