How to generate points on surface

Hi,all,
Do you know how to sample points on a BSpline surface, that is, generate M*N points uniformly in U*V direction on a BSpline surface. I find that GCPnts_UniformAbscissa can generate points for a curve, so I wonder if there is any similar API for surface? Thank you so much. Any comments will be highly appreciately.

Evgeny Lodyzhehsky's picture

Dear Jun WANG.

I think it will be simple if you'll try to:

1. compute isoline CUmin for U=Umin; // use Geom_BSplineCurve::UIso(...)
2. copmute a set of points on CUmin; // use GCPnts_UniformAbscissa
3. compute a set of isolines CVi (i=1,2...n) for U=U1, U2, Un from step 2
4. copmute a set of points for each CVi; // use GCPnts_UniformAbscissa again

Jun WANG's picture

Dear Lodyzhensky Evgeny Nicolaich, Thank you so much for your consideration.

Tae Hyun Kim's picture

Hello, I am having the same problem as well..

If you found the answer, Can you share it with me??

Thanks for the helps!

Tae Hyun