mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0026673: BOPTools_AlgoTools::ComputeVV incorrectly checks two vertices for intersection
Test case has been created.
This commit is contained in:
parent
8878d0ecce
commit
ff1541f179
15
tests/bugs/modalg_6/bug26673
Normal file
15
tests/bugs/modalg_6/bug26673
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
puts "============"
|
||||||
|
puts "OCC26673"
|
||||||
|
puts "============"
|
||||||
|
puts ""
|
||||||
|
##################################
|
||||||
|
# BOPTools_AlgoTools::ComputeVV incorrectly checks two vertices for intersection
|
||||||
|
##################################
|
||||||
|
|
||||||
|
box b -1 -1 0 2 2 2e-7+1e-14
|
||||||
|
set out [bopargcheck b /RFPCS #F]
|
||||||
|
if [regexp {Self-Intersections *: YES} $out] {
|
||||||
|
puts "OK: bopargcheck found the shape self-intersecting"
|
||||||
|
} else {
|
||||||
|
puts "Error: bopargcheck must report self-intersections, but it did not"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user