mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Approx/Approx_SameParameter.cxx,hxx: Class Approx_SameParameter refactoring. Logic is changed in many places to unify usage, simplify maintenance. Method Curve2d() is changed to return Geom2d_Curve instead of Geom2d_BSplineCurve. Corresponding message is added to the upgrade guide. .lxx file is merged into .hxx. Tangent computation is extracted into special method. Comparing number of sample points after CheckSameParameter(...) is added to define cases with projection fails. Undesirable behavior when curves are not same parameterized is fixed. Geom2dAdaptor/Geom2dAdaptor.cxx: treatment of offset curve is added Adaptor3d/Adaptor3d_TopolTool.cxx: minor improvement of performance for BSpline surfaces with huge number of knots Tests were modified according to new behavior of sameparameter algorithm
9 lines
387 B
Plaintext
9 lines
387 B
Plaintext
pbsplinecurve bspline_3d_p_nr 2 4 0 1 1 1 2 1 3 1 0 0 0 1 1 2 0 1 2 0 0 1
|
|
extsurf es_bspline_3d_p_nr bspline_3d_p_nr 0 0 1
|
|
offset es_bspline_3d_p_nr_of es_bspline_3d_p_nr 1
|
|
offset es_bspline_3d_p_nr_of_of es_bspline_3d_p_nr_of 1
|
|
mkface result es_bspline_3d_p_nr_of_of 0 1 0 3
|
|
set MaxFTol 9.9999999999999995e-08
|
|
set MaxETol 3.2685874571489216e-007
|
|
set MaxVTol 3.2685874571489216e-007
|