
Mon, 06/18/2001 - 10:29
Forums:
Hello,
I use the constructor GeomAPI_PointsToBSpline and the curve function to build a B-spline curve. Is there any check if I have an array of Points (gp_Pnt) have the same coordinates for not creating a curve ?
This is what I get when I tried to create one using 3 points have value 0 0 5.
*********** Dump of bc ************* BSplineCurve Degree 3, 5 Poles, 3 Knots Poles :
1 : 0, 0, 5
2 : nan, nan, nan
3 : nan, nan, nan
4 : nan, nan, nan
5 : 0, 0, 5 Knots :
1 : nan 4
2 : nan 1
3 : nan 4
PLease clarify ?
- Prasad
Mon, 06/18/2001 - 11:49
Hi !
Did all 3 points have the values 0 0 5 ?
If that is the case then I would guess that's the reason for getting the incorrect spline.
All points must have unique coordinates (unless the code handles this in some way internally).