1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024427: Wrong section curves

Incorrect curve is got after Decompose method applying. This method's using should be restrict.
Decomposition is required if intersection curve contains some parts, where U-parameter on quadric surface changes too sharply.

Decompose method is called for Cone and Sphere only (it does not require for Cylinder).

Comments are changed by jgv.

Test case for issue CR24427

Added test case bugs/moddata_3/bug24427_2

Compiler warning is liquidated.
Test is corrected.
This commit is contained in:
nbv
2014-01-15 10:56:16 +04:00
committed by bugmaster
parent e92240458e
commit 191478a581
5 changed files with 1520 additions and 1389 deletions

View File

@@ -475,7 +475,9 @@ void BoundedArc (const TheArc& A,
}
if (Nbi==1) {
if (pardeb == Pdeb && parfin == Pfin) {
if ( (Abs(pardeb - Pdeb) < Precision::PConfusion()) &&
(Abs(parfin - Pfin) < Precision::PConfusion()))
{
Arcsol=Standard_True;
}
}