1
0
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:
emv
2018-02-01 13:10:16 +03:00
committed by apn
parent 05fb2b05af
commit f9ffd4f9f3
8 changed files with 227 additions and 39 deletions

View 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"
}
}