occt: master ecc4f148
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
bugmaster | master | 2014-08-15 10:35:04 | master d15f387a | |
Changeset | 0024915: Wrong intersection curves between two cylinders Existing method of Cylinder-Cylinder intersection computing is based on finding the analytic line (as a function of one argument) and converting one into the walking-line with set of equidistant (along the line parameter) points. The main advantage of applied method is using adaptively computed step. Necessary step is computed into every point of the obtained walking-line. At that we receive final walking-line directly (without preliminary analytic line) and we determine moments more precisely, when it should be split (see IntPatch_ImpImpIntersection_4.gxx). The main disadvantages is bad working this method for non-trimmed cylinders (with infinite bounds), because step value is depend on the boundaries values. More over, new method always returns walking-line, while intersection result can be an analytic curve (lines, circle, ellipse). That is NO good. Therefore, analytic curve is computed by existing method. In conclusion, in spite of covering almost all more often meeting cases, new method has limited application. Then we should use the existing old method. Additionally, method MinMax() is added (see Standard_Real.hxx file). It uses into new algorithm. Some test cases is changed according to their new behavior. Test case for issue CR24915 is added. Into GeometryTest_APICommands.cxx only tabulations were chaged. "Extending" of isolines (see Geom2dHatch_Hatcher.cxx). Small correction of test case for issue CR24915. |
|||
mod - src/DBRep/DBRep_IsoBuilder.cxx | Diff File | |||
mod - src/Geom/Geom_CylindricalSurface.cdl | Diff File | |||
mod - src/Geom2dHatch/Geom2dHatch_Hatcher.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_APICommands.cxx | Diff File | |||
mod - src/IntAna/IntAna_QuadQuadGeo.cxx | Diff File | |||
mod - src/IntPatch/IntPatch_ImpImpIntersection.cdl | Diff File | |||
mod - src/IntPatch/IntPatch_ImpImpIntersection_1.gxx | Diff File | |||
mod - src/IntPatch/IntPatch_ImpImpIntersection_2.gxx | Diff File | |||
mod - src/IntPatch/IntPatch_ImpImpIntersection_4.gxx | Diff File | |||
mod - src/IntPatch/IntPatch_Intersection.cdl | Diff File | |||
mod - src/IntPatch/IntPatch_Intersection.cxx | Diff File | |||
mod - src/Standard/Standard_Real.hxx | Diff File | |||
mod - tests/blend/bfuseblend/B7 | Diff File | |||
mod - tests/bugs/modalg_2/bug22864 | Diff File | |||
mod - tests/bugs/modalg_2/bug22967 | Diff File | |||
mod - tests/bugs/modalg_2/bug23218 | Diff File | |||
mod - tests/bugs/modalg_5/bug24798 | Diff File | |||
mod - tests/bugs/modalg_5/bug24825_common | Diff File | |||
mod - tests/bugs/modalg_5/bug24825_cut | Diff File | |||
mod - tests/bugs/modalg_5/bug24825_fuse | Diff File | |||
add - tests/bugs/modalg_5/bug24915 | Diff File | |||
mod - tests/bugs/modalg_5/bug24981 | Diff File |