View Issue Details

IDProjectCategoryView StatusLast Update
0031941Open CASCADEOCCT:Testspublic2023-08-01 15:06
ReporterifvAssigned Toapn  
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version7.5.0 
Target VersionUnscheduled 
Summary0031941: Tests - some test cases in lowalgos/intss are wrong
DescriptionTest 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 ReproduceRun test lowalgos/intss/bug29972_4 and zoom middle part of result curve.
TagsNo tags attached.
Test case number

Attached Files

  • curveloop.jpg (16,226 bytes)

Relationships

related to 0029501 assignedmsv Open CASCADE Modeling Algorithms - Intersection algorithm produces the curve with loop 

Activities

ifv

2020-11-16 15:20

developer  

curveloop.jpg (16,226 bytes)

Issue History

Date Modified Username Field Change
2020-11-16 15:20 ifv New Issue
2020-11-16 15:20 ifv Assigned To => apn
2020-11-16 15:20 ifv File Added: curveloop.jpg
2020-11-16 15:25 ifv Relationship added related to 0029501
2020-11-20 13:10 ifv Summary Tests - test case lowalgos/intss/bug29972_4 works wrongly and does not diagnose self-intersecting curve => Tests - some test cases in lowalgos/intss are wrong
2020-11-20 13:10 ifv Description Updated
2020-11-20 13:18 ifv Description Updated
2021-10-07 14:52 szy Target Version 7.6.0 => 7.7.0
2022-10-24 10:43 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:06 dpasukhi Target Version 7.8.0 => Unscheduled