Archived issue #0031941

Tests - some test cases in lowalgos/intss are wrong

Open CASCADEOCCT:Testsnew0 public notes

Search issues

Description

Test lowalgos/intss/bug29972_4 was speciality designed for diagnose possible loops (self-intersections) of curve, which is result of intersection bspline surface and plane. Now test is considered as OK - intersection curve is good and has no loops.
Really intersection curve is wrong and has loop, see attached picture.
Algorithm of test is wrong.

Test lowalgos/intss/buc60623_3 is wrong.
In test script topological command "checksection" is applied for geometry object - curve and always return "good" result:
....
mksurface S1 a
mksurface S2 b

intersect I1 S1 S2
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection I1] full cs2
if { $cs2 != 0 } {
    puts " Faulty : Intersection is not correct"
} else {
    puts "Intersection of S1 and S2 is correct"
}
...

This test tests nothing.

Test lowalgos/intss/bug139 is wrong.
The same reason as for buc60623_3

Steps to reproduce

Run test lowalgos/intss/bug29972_4 and zoom middle part of result curve.

Public activity

No public notes

Participants are labeled by their role within this record.

Related records