![]() |
【转帖】spline Isperiodic
spline: isperiodic
spline: isperiodic hi, i set a spline as below: pspline->setnurbsdata(3, // degree false, // rational false, // closed false, // periodic m_controlpoints, // control points m_knots, // knots weights, // weights 1.0000e-10, // control point tolerance 1.0000e-10); // knot tolerance when i read the same spline data from the database(just after writing it) using: pspline->getnurbsdata(degree, rational, closed, periodic, ctrlpts, knots, weights, tol); then the value of periodic comes out to be "true"(instead of "false"). why is this so? i am using dwgdirect 1.13.2. thanks alex parameters "isclosed" and "isperiodic" are dummy and exists in this function only for compatibility with objectarx. in fact, these flags can be computed from nurbs data (knots, control points, degree). sincerely yours, george udov that clears a lot of things for me..thanks |
所有的时间均为北京时间。 现在的时间是 12:10 AM. |