occt: master 58e14d59
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
bugmaster | master | 2016-03-15 13:38:11 | master d658f275 | |
Affected Issues | 0027117: BRepClass3d_SolidClassifier doesn't take into account vertex/edge/face tolerances | |||
Changeset | 0027117: BRepClass3d_SolidClassifier doesn't take into account vertex/edge/face tolerances Various improvements in point-solid classifier: 1) Refactoring. 2) BndBoxTree is extracted into separate class. 3) UB-tree calculation is cashed to improve point-solid classification speed. 4) Ray / curve intersection improved by trimmed parameters and correct order. 5) Fixes in logic. 6) Calculation caching at the classifier level. 3D-claasifier now takes into the account the vertex/edges tolerances. If the given point lays inside the tolerance area of vertex or edge of the solid it's classified as TopAbs_ON. The behavior of IntCurvesFace_Intersector::Perform was changed. Now it may use optional null-tolerance to classify 2d-point relatively to the given face. UBTreeFiller is used to speedup intersection process between edges/vertices and the point. The test case 'boolean gdml_private ZH2' extensively uses the SolidClassifier. After this fix it returns the correct classification statuses, which leads to incorrect result shape (reported by checkshape). Yet the result shape without this fix also seems to be incorrect (one of the isolines goes out of boundary of the face). Thats why it's marked with 'TODO'. Corrections in test cases. Test case is added. |
|||
add - src/BRepClass3d/BRepClass3d_BndBoxTree.cxx | Diff File | |||
add - src/BRepClass3d/BRepClass3d_BndBoxTree.hxx | Diff File | |||
mod - src/BRepClass3d/BRepClass3d_SClassifier.cxx | Diff File | |||
mod - src/BRepClass3d/BRepClass3d_SClassifier.hxx | Diff File | |||
mod - src/BRepClass3d/BRepClass3d_SolidExplorer.cxx | Diff File | |||
mod - src/BRepClass3d/BRepClass3d_SolidExplorer.hxx | Diff File | |||
mod - src/BRepClass3d/FILES | Diff File | |||
mod - src/IntCurvesFace/IntCurvesFace_Intersector.cxx | Diff File | |||
mod - src/IntCurvesFace/IntCurvesFace_Intersector.hxx | Diff File | |||
mod - tests/boolean/gdml_private/ZH2 | Diff File | |||
mod - tests/boolean/gdml_private/ZI7 | Diff File | |||
mod - tests/boolean/gdml_private/ZJ7 | Diff File | |||
mod - tests/boolean/volumemaker/C9 | Diff File | |||
add - tests/bugs/modalg_6/bug27117 | Diff File |