Fri, 08/26/2022 - 05:18
Forums:
Hello.
The distance between Shape 1 and Shape 2 is calculated as 0 by BRepExtrema_DistShapeShape.
However, the two shapes are obviously far apart.
Do you know why the wrong distance is obtained?
[code]
double dValue = -1.0;
try {
BRepExtrema_DistShapeShape breEDstSS( shape1, shape2 );
if ( breEDstSS.IsDone() == Standard_False ){
return -1.0;
}
dValue = breEDstSS.Value();
}
catch( const Standard_Failure& theFailure ) {
}
[Environment]
Opencascade: V7.6.3
OS: Windows 10 Pro 64bit
CPU: Intel(R) Core(TM) i7-10510U
Memory: 16GB
Best regards.
Attachments:
Fri, 08/26/2022 - 10:47
This problem looks like a bug. Please feel free to register it in the bugtracker.