Is it reasonable for the degree of resultant curve exceeds the MaxDegree of GeomConvert_ApproxCurve? #142
Closed
lavender-lee
started this conversation in
General
Replies: 2 comments
-
However, approximate a circle with a cubic spline within the specified tolerance is possible. For example:
circle equation in parametric form : x(t) = 10 Cos[6.28319 t], Error analysis (two components: |
Beta Was this translation helpful? Give feedback.
0 replies
-
@dpasukhi Do you think this throw statement is redundant? From the math point of view, ndu = Max(myMaxDegInU+1,2*iu+2);
ndv = Max(myMaxDegInV+1,2*iv+2);
if (ndu<2*iu+2)
throw Standard_ConstructionError("AdvApp2Var_ApproxAFunc2Var : UMaxDegree Error");
if (ndv<2*iv+2)
throw Standard_ConstructionError("AdvApp2Var_ApproxAFunc2Var : VMaxDegree Error"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the following code:
The degree of the approximation curve is 9, a 9-th degree Bezier curve.
However, the document says:
In the above case, the setting for MaxDegree is only 3.
Beta Was this translation helpful? Give feedback.
All reactions