mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025555: Wrong result of classification of a point relative to solid
Implemented additional verification that the point found by Extrema is placed inside the face. This way turns off searching the additional inner point. Test case for issue CR25555
This commit is contained in:
@@ -309,7 +309,7 @@ void BRepClass3d_SClassifier::Perform(BRepClass3d_SolidExplorer& SolidExplorer,
|
||||
if(Intersector3d.IsDone()) {
|
||||
Standard_Integer i;
|
||||
for (i=1; i <= Intersector3d.NbPnt(); i++) {
|
||||
if(Abs(Intersector3d.WParameter(i)) < Abs(parmin)) {
|
||||
if(Abs(Intersector3d.WParameter(i)) < Abs(parmin) - Precision::PConfusion()) {
|
||||
|
||||
parmin = Intersector3d.WParameter(i);
|
||||
// Modified by skv - Thu Sep 4 12:46:32 2003 OCC578 Begin
|
||||
|
Reference in New Issue
Block a user