occt: master a148c938
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
aka | apn | master | 2016-12-08 13:33:47 | master 8013367c |
Affected Issues | 0027434: Wrong result of classification of the point in "infinity" | |||
Changeset | 0027434: Wrong result of classification of the point in "infinity" In the case of infinite point due to not enough machine precision the distance from the point to each edge of the face is computed the same, and the algorithm cannot correctly select the nearest edge. To solve this problem checking of point was added, if the point is located too far from the bounding box of the face, then it will be replaced with another point located on the line between the point and the center of the bounding box. The new point has the same state as initial one but its state can be resolved without ambiguity. Corrections in CheckPoint method Small correction of test case for issue CR27434 |
|||
mod - src/BRepClass/BRepClass_FaceExplorer.cxx | Diff File | |||
mod - src/BRepClass/BRepClass_FaceExplorer.hxx | Diff File | |||
mod - src/Geom2dHatch/Geom2dHatch_Elements.cxx | Diff File | |||
mod - src/Geom2dHatch/Geom2dHatch_Elements.hxx | Diff File | |||
mod - src/TopClass/TopClass_FaceClassifier.gxx | Diff File | |||
add - tests/bugs/modalg_6/bug27434 | Diff File |