occt: master 2a739b6d

Author Committer Branch Timestamp Parent
gka bugmaster master 2015-06-04 11:22:33 master b9a7d225
Affected Issues  0024357: BRepBuilderAPI_Sewing returns result with too high tolerance
Changeset 0024357: BRepBuilderAPI_Sewing returns result with too high tolerance.

In method Approx_SameParameter::Build() for case when 2D and 3D curves is not same parameter calculation of maximal deviation is modified by following way :

Projection is considered as done only if parameter projected point falls within the current interval of parameters.

In the Approx_SameParameter considering tolerance after static method ProjectPointOnCurve was added.

In BRepAlgoAPI_Sewing catch of exception was added and computation of tolerance of edge if same parameter was changed in according to check in BRepCheck_Analyzer

In method Approx_SameParameter::Build() for case when 2D and 3D curves is not same parameter calculation of maximal deviation is modified by following way :

Modification in order to avoid warning

Test case for issue CR24357
mod - src/Approx/Approx_SameParameter.cxx Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx Diff File
mod - tests/bugs/mesh/bug25378_1_2 Diff File
mod - tests/bugs/modalg_2/bug22770_13 Diff File
mod - tests/bugs/modalg_2/bug22770_15 Diff File
add - tests/bugs/modalg_6/bug24357 Diff File
mod - tests/draft/angle/G8 Diff File
mod - tests/heal/data/advanced/W7 Diff File
mod - tests/heal/data/advanced/W9 Diff File
mod - tests/heal/data/advanced/Y4 Diff File
mod - tests/heal/data/advanced/Z1 Diff File