mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0029465: Regression relation to 691 version: Extrema_ExtCC returns IsParallel equal to true for not parallel curves
Strengthening of the criteria of the parallel status of the curves by additional checking if the ends of the curves do not diverge. Test cases for the issue.
This commit is contained in:
12
tests/lowalgos/extcc/begin
Normal file
12
tests/lowalgos/extcc/begin
Normal file
@@ -0,0 +1,12 @@
|
||||
proc CheckExtResult {info ref_dist} {
|
||||
global ext_1
|
||||
if {[regexp "ext_1" $info]} {
|
||||
set dist [lindex [length ext_1] end]
|
||||
if { $dist > $ref_dist } {
|
||||
puts "Error: Extrema distance is too big"
|
||||
}
|
||||
} else {
|
||||
puts "Error: Extrema is not found"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user